TimeSpanUnit enum

Inheritance
Available extensions

Values

year → const TimeSpanUnit
month → const TimeSpanUnit
week → const TimeSpanUnit
day → const TimeSpanUnit
hour → const TimeSpanUnit
minute → const TimeSpanUnit
second → const TimeSpanUnit
millisecond → const TimeSpanUnit
microsecond → const TimeSpanUnit

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
index int

Available on TimeSpanUnit?, provided by the TimeSpanUnitExt extension

no setter
isTimeField bool

Available on TimeSpanUnit?, provided by the TimeSpanUnitExt extension

no setter
isVirtual bool

Available on TimeSpanUnit?, provided by the TimeSpanUnitExt extension

no setter
label String

Available on TimeSpanUnit?, provided by the TimeSpanUnitExt extension

no setter
marker String

Available on TimeSpanUnit?, provided by the TimeSpanUnitExt extension

no setter
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
name String

Available on TimeSpanUnit?, provided by the TimeSpanUnitExt extension

no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shortLabel String?

Available on TimeSpanUnit?, provided by the TimeSpanUnitExt extension

no setter

Methods

append(TimeSpan self) String

Available on TimeSpanUnit?, provided by the TimeSpanUnitExt extension

get(TimeSpan span) int

Available on TimeSpanUnit?, provided by the TimeSpanUnitExt extension

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
toTimeSpan(num amount) TimeSpan

Available on TimeSpanUnit?, provided by the TimeSpanUnitExt extension

Operators

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

Constants

values → const List<TimeSpanUnit>
A constant List of the values in this enum, in order of their declaration.