Time class final
An ICU4X Time object representing a time in terms of hour, minute, second, nanosecond
See the Rust documentation for Time
for more information.
- Implemented types
Constructors
- Time.new(int hour, int minute, int second, int subsecond)
-
Creates a new Time given field values
factory
- Time.fromString(String v)
-
Creates a new Time from an IXDTF string.
factory
- Time.noon()
-
Creates a new Time representing noon (12:00:00.000).
factory
- Time.startOfDay()
-
Creates a new Time representing the start of the day (00:00:00.000).
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- hour → int
-
Returns the hour in this time
no setter
- minute → int
-
Returns the minute in this time
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- second → int
-
Returns the second in this time
no setter
- subsecond → int
-
Returns the subsecond in this time as nanoseconds
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited