TimeUnit class
An enum for numerous TimeConverters.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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
Static Methods
-
parse(
String id) → TimeConverter? -
Returns the TimeConverter for this
id
or null if there is no TimeConverter associated with this id.
Constants
- attosecond → const TimeConverter
- century → const TimeConverter
-
common
→ const List<
TimeConverter> - day → const TimeConverter
- daySideral → const TimeConverter
- decade → const TimeConverter
- femtosecond → const TimeConverter
- fortnight → const TimeConverter
- hour → const TimeConverter
- hourSideral → const TimeConverter
- leapYear → const TimeConverter
- microsecond → const TimeConverter
- millenium → const TimeConverter
- millisecond → const TimeConverter
- minute → const TimeConverter
- minuteSideral → const TimeConverter
- month → const TimeConverter
- monthSynodic → const TimeConverter
- nanosecond → const TimeConverter
- novennial → const TimeConverter
- octennial → const TimeConverter
- picosecond → const TimeConverter
- plankTime → const TimeConverter
- quindecinnal → const TimeConverter
- quinquennial → const TimeConverter
- second → const TimeConverter
- secondSideral → const TimeConverter
- septennial → const TimeConverter
- shake → const TimeConverter
-
units
→ const List<
TimeConverter> - week → const TimeConverter
- year → const TimeConverter
- yearJulian → const TimeConverter
- yearSideral → const TimeConverter
- yearTropical → const TimeConverter