ClockStyle enum

Clock styles for hour formatting.

Inheritance
Available extensions

Values

zeroToEleven → const ClockStyle

Clock style from 0 to 11 (e.g., 0 AM to 11 AM).

oneToTwelve → const ClockStyle

Clock style from 1 to 12 (e.g., 1 AM to 12 PM).

zeroToTwentyThree → const ClockStyle

Clock style from 0 to 23 (e.g., 0:00 to 23:00).

Properties

hashCode int
The hash code for this object.
no setterinherited
hourStyleExtensionString String
The extension string used in ICU locale identifiers for this clock style.
no setter
index int
A numeric identifier for the enumerated value.
no setterinherited
is12Hour bool
Whether this clock style represents a 12-hour clock.
no setter
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<ClockStyle>
A constant List of the values in this enum, in order of their declaration.