TimeUnit enum
Defines supported units of time.
Constructors
- TimeUnit()
-
const
Values
- nanosecond → const TimeUnit
-
A unit representing nanoseconds.
- microsecond → const TimeUnit
-
A unit representing microseconds.
- millisecond → const TimeUnit
-
A unit representing milliseconds.
- centisecond → const TimeUnit
-
A unit representing centiseconds.
- decisecond → const TimeUnit
-
A unit representing deciseconds.
- second → const TimeUnit
-
A unit representing seconds.
- decasecond → const TimeUnit
-
A unit representing decaseconds.
- minute → const TimeUnit
-
A unit representing minutes.
- hour → const TimeUnit
-
A unit representing hours.
- day → const TimeUnit
-
A unit representing days.
- week → const TimeUnit
-
A unit representing weeks.
- fortnight → const TimeUnit
-
A unit representing fortnights.
- month → const TimeUnit
-
A unit representing months.
- quarter → const TimeUnit
-
A unit representing quarters.
- year → const TimeUnit
-
A unit representing years.
- decade → const TimeUnit
-
A unit representing decades.
- century → const TimeUnit
-
A unit representing centuries.
Properties
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