UtcTimeDisplayEnum enum

Clock-display presets for DateTimeIntlDisplayExtensions.utcTimeDisplay.

Each value maps to an intl skeleton (or raw pattern) so the rendered clock follows the requested precision and 12h/24h convention. Example outputs are for the en_US locale.

Inheritance
Available extensions

Values

twelveHourWithSecondsAMPM → const UtcTimeDisplayEnum

Displays hours, minutes, seconds, and AM/PM (e.g. 10:30:45 PM).

twelveHourAMPM → const UtcTimeDisplayEnum

Displays hours, minutes, and AM/PM (e.g. 10:30 PM).

twentyFourHourWithSeconds → const UtcTimeDisplayEnum

Displays hours, minutes, and seconds (e.g. 22:30:45).

twentyFourHour → const UtcTimeDisplayEnum

Displays hours and minutes (e.g. 22:30).

twelveHour → const UtcTimeDisplayEnum

Displays hours and minutes without AM/PM (e.g. 10:30).

amPmOnly → const UtcTimeDisplayEnum

Displays only AM/PM (e.g. PM).

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