Time class final

Inheritance

Constructors

Time(double value, UnitOfMeasure<Time> unit)

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
toDays Time
no setter
toDuration Duration
no setter
toHours Time
no setter
toMicroseconds Time
no setter
toMilliseconds Time
no setter
toMinutes Time
no setter
toNanoseconds Time
no setter
toSeconds Time
no setter
unit UnitOfMeasure<Time>
finalinherited
value double
finalinherited

Methods

equivalentTo(Quantity<Time> other) bool
inherited
fromDuration(Duration d) Time
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
to(UnitOfMeasure<Time> uom) double
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

parse(String s) → Option<Time>
override

Constants

days → const Days
hours → const Hours
microseconds → const Microseconds
milliseconds → const Milliseconds
minutes → const Minutes
nanoseconds → const Nanoseconds
seconds → const Seconds
units → const Set<TimeUnit>