TimeOfDay 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
- TimeOfDay()
- TimeOfDay.fromJson(Map _json)
Properties
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- hours ↔ 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.
read / write
- minutes ↔ int
-
Minutes of hour of day. Must be from 0 to 59.
read / write
- nanos ↔ int
-
Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- seconds ↔ 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.
read / write
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toJson(
) → Map< String, Object> -
toString(
) → String -
Returns a string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited