TimeUnit enum

represent all the supported unit for ISTime

Constants

calendarYear → const TimeUnit
const TimeUnit(9)
century → const TimeUnit
const TimeUnit(11)
day → const TimeUnit
const TimeUnit(6)
decade → const TimeUnit
const TimeUnit(10)
hour → const TimeUnit
const TimeUnit(5)
microsecond → const TimeUnit
const TimeUnit(1)
millisecond → const TimeUnit
const TimeUnit(2)
minute → const TimeUnit
const TimeUnit(4)
month → const TimeUnit
const TimeUnit(8)
nanosecond → const TimeUnit
const TimeUnit(0)
second → const TimeUnit
const TimeUnit(3)
values → const List<TimeUnit>

A constant List of the values in this enum, in order of their declaration.

const List<TimeUnit>
week → const TimeUnit
const TimeUnit(7)

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
index int

The integer index of this enum.

final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
override

Operators

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