Represents a time of day. The date and time zone are either not significant
or are specified elsewhere. An API may choose to allow leap seconds. Related
types are [google.type.Date][google.type.Date] and
google.protobuf.Timestamp.
Generated from protobuf message google.type.TimeOfDay
| Methods |
| public __construct( $data = NULL) Constructor.
|
| public getHours() Hours of a day in 24 hour format. Must be greater than or equal to 0 and typically must be less than or equal to 23. An API may choose to allow the value "24:00:00" for scenarios like business closing time. Generated from protobuf field int32 hours = 1;
|
| public getMinutes() Minutes of an hour. Must be greater than or equal to 0 and less than or equal to 59. Generated from protobuf field int32 minutes = 2;
|
| public getNanos() Fractions of seconds, in nanoseconds. Must be greater than or equal to 0 and less than or equal to 999,999,999. Generated from protobuf field int32 nanos = 4;
|
| public getSeconds() Seconds of a minute. Must be greater than or equal to 0 and typically must be less than or equal to 59. An API may allow the value 60 if it allows leap-seconds. Generated from protobuf field int32 seconds = 3;
|
| public setHours( $var) Hours of a day in 24 hour format. Must be greater than or equal to 0 and typically must be less than or equal to 23. An API may choose to allow the value "24:00:00" for scenarios like business closing time. Generated from protobuf field int32 hours = 1;
|
| public setMinutes( $var) Minutes of an hour. Must be greater than or equal to 0 and less than or equal to 59. Generated from protobuf field int32 minutes = 2;
|
| public setNanos( $var) Fractions of seconds, in nanoseconds. Must be greater than or equal to 0 and less than or equal to 999,999,999. Generated from protobuf field int32 nanos = 4;
|
| public setSeconds( $var) Seconds of a minute. Must be greater than or equal to 0 and typically must be less than or equal to 59. An API may allow the value 60 if it allows leap-seconds. Generated from protobuf field int32 seconds = 3;
|
| Properties |
| protected $hours = 0 Hours of a day in 24 hour format. Must be greater than or equal to 0 and typically must be less than or equal to 23. An API may choose to allow the value "24:00:00" for scenarios like business closing time. Generated from protobuf field int32 hours = 1; |
| protected $minutes = 0 Minutes of an hour. Must be greater than or equal to 0 and less than or equal to 59. Generated from protobuf field int32 minutes = 2; |
| protected $nanos = 0 Fractions of seconds, in nanoseconds. Must be greater than or equal to 0 and less than or equal to 999,999,999. Generated from protobuf field int32 nanos = 4; |
| protected $seconds = 0 Seconds of a minute. Must be greater than or equal to 0 and typically must be less than or equal to 59. An API may allow the value 60 if it allows leap-seconds. Generated from protobuf field int32 seconds = 3; |
| Methods |