TimeZoneStyle enum

Formatting style for displaying time zones. Not every style is supported by every platform. Not every style is supported by every time zone, in which case a back-up style is returned automatically by the platform.

Inheritance

Constructors

TimeZoneStyle()
const

Values

short → const TimeZoneStyle

Short form, e.g. 'GMT+/-HH:MM' (time offset).

shortWithDst → const TimeZoneStyle

Short form, e.g. 'GMT+/-HH:MM' (time offset with day saving time offset)'.

long → const TimeZoneStyle

Long form, e.g. 'Central European Standard Time'.

longWithDst → const TimeZoneStyle

Long form, e.g. 'Central European Summer Time'.

generic → const TimeZoneStyle

Generic form, e.g. 'Mountain Time'. Does not exist in Android, therefore 'long' is returned.

shortGeneric → const TimeZoneStyle

Short Generic form, e.g. 'MT' (for Mountain Time). Does not exist in Android, therefore 'short' is returned.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
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<TimeZoneStyle>
A constant List of the values in this enum, in order of their declaration.