ChronoField enum

Inheritance
Available extensions

Values

year → const ChronoField

The proleptic year, such as 2012.

month → const ChronoField

The month [1..12].

dayOfMonth → const ChronoField

The day of the month [1..31].

hourOfDay → const ChronoField

The hour of the day, expressed as in a 24-hour clock [0..23].

minute → const ChronoField

The minute of the hour [0...59].

second → const ChronoField

The second of minute [0...59].

millisecond → const ChronoField

The millisecond of second [0...999].

microsecond → const ChronoField

The microsecond of millisecond [0...999].

dayOfWeek → const ChronoField

The day of the week [1..7]. Values from Monday (1) to Sunday (7).

epochDay → const ChronoField

The epoch-day. Count of days since epoch (1970-01-01).

microsecondOfDay → const ChronoField

The microsecond of day.

prolepticMonth → const ChronoField

The proleptic month. Count of months since year 0.

offsetSeconds → const ChronoField

The offset in seconds from UTC.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
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

Constants

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