GoogleTypeTimeOfDay class
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 and google.protobuf.Timestamp.
Constructors
-
GoogleTypeTimeOfDay({Input<
int> ? hours, Input<int> ? minutes, Input<int> ? nanos, Input<int> ? seconds}) -
Creates a new GoogleTypeTimeOfDay.
hoursHours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value "24:00:00" for scenarios like business closing time.minutesMinutes of hour of day. Must be from 0 to 59.nanosFractions of seconds in nanoseconds. Must be from 0 to 999,999,999.secondsSeconds of minutes of the time. Must normally be from 0 to 59. An API may allow the value 60 if it allows leap-seconds.const -
GoogleTypeTimeOfDay.fromMap(Map<
String, dynamic> map) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
hours
→ Input<
int> ? -
Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value "24:00:00" for scenarios like business closing time.
final
-
minutes
→ Input<
int> ? -
Minutes of hour of day. Must be from 0 to 59.
final
-
nanos
→ Input<
int> ? -
Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
seconds
→ Input<
int> ? -
Seconds of minutes of the time. Must normally be from 0 to 59. An API may allow the value 60 if it allows leap-seconds.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited