DatePart enum
Values
- year → const DatePart
-
const DatePart(7, Duration.microsecondsPerDay * 365, 'y')
- mounth → const DatePart
-
const DatePart(6, Duration.microsecondsPerDay * 30.5, 'M')
- day → const DatePart
-
const DatePart(5, Duration.microsecondsPerDay, 'd')
- hour → const DatePart
-
const DatePart(4, Duration.microsecondsPerHour, 'h')
- minute → const DatePart
-
const DatePart(3, Duration.microsecondsPerMinute, 'm')
- second → const DatePart
-
const DatePart(2, Duration.microsecondsPerSecond, 's')
- millisecond → const DatePart
-
const DatePart(1, Duration.microsecondsPerMillisecond, 'S')
- microsecond → const DatePart
-
const DatePart(0, 1, 'C')
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- ind → int
-
final
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- mark → String
-
final
- microseconds → num
-
final
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - 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 Properties
-
listFromBig
→ List<
DatePart> -
no setter
-
listFromSmall
→ List<
DatePart> -
no setter
Static Methods
-
getPartFromIndex(
int index) → DatePart