DurationQuantity class

A period of existence or persistence.

The system unit for this quantity is "s" (second).

Inheritance

Properties

day Unit
A unit of duration equal to 24 [HOUR] (standard name d).
no setter
daySidereal Unit
A unit of duration equal to the time required for a complete rotation of the earth in reference to any star or to the vernal equinox at the meridian, equal to 23 hours, 56 minutes, 4.09 seconds (standard name day_sidereal).
no setter
hashCode int
The hash code for this object.
no setterinherited
hour Unit
A unit of duration equal to 60 [MINUTE] (standard name h).
no setter
minute Unit
A unit of duration equal to 60 s (standard name min).
no setter
month Unit
A unit of duration equal to one twelfth of a year (standard name month).
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
siUnit Unit
The SI unit (Système International d'Unités) for this quantity
no setteroverride
week Unit
A unit of duration equal to 7 [DAY] (standard name week).
no setter
year Unit
A unit of duration equal to 365 days, 5 hours, 49 minutes, and 12 seconds (standard name year).
no setter
yearCalendar Unit
A unit of duration equal to 365 [DAY] (standard name year_calendar).
no setter
yearSidereal Unit
A unit of duration equal to one complete revolution of the earth about the sun, relative to the fixed stars, or 365 days, 6 hours, 9 minutes, 9.54 seconds (standard name year_sidereal).
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

Constants

second → const BaseUnit
The base unit for duration quantities (s).