DesignDateSegmentType enum

The kinds of segment a date or a time field is typed in.

Inheritance
Available extensions

Values

year → const DesignDateSegmentType

The year.

month → const DesignDateSegmentType

The month, typed as its number.

day → const DesignDateSegmentType

The day of the month.

hour → const DesignDateSegmentType

The hour, on the field's clock (1–12, or 0–23).

minute → const DesignDateSegmentType

The minute.

second → const DesignDateSegmentType

The second.

dayPeriod → const DesignDateSegmentType

AM or PM, on a 12-hour clock.

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<DesignDateSegmentType>
A constant List of the values in this enum, in order of their declaration.