Skip to content

//core/io.islandtime.format/TimeZoneTextStyle

TimeZoneTextStyle

common

enum TimeZoneTextStyle : Enum<TimeZoneTextStyle>

A time zone text style.

Standard versions indicate the name for standard time, like "Eastern Standard Time". Daylight versions indicate the name of daylight savings time, like "Eastern Daylight Time". Generic is agnostic to daylight savings -- ie. "Eastern Time".

Entries

STANDARD

common

STANDARD

SHORT_STANDARD

common

SHORT_STANDARD

DAYLIGHT_SAVING

common

DAYLIGHT_SAVING

SHORT_DAYLIGHT_SAVING

common

SHORT_DAYLIGHT_SAVING

GENERIC

common

GENERIC

SHORT_GENERIC

common

SHORT_GENERIC

Properties

Name Summary
entries

common


val entries: EnumEntries<TimeZoneTextStyle>

Returns a representation of an immutable list of all enum entries, in the order they're declared.
name

common


val name: String
ordinal

common


val ordinal: Int

Functions

Name Summary
isDaylightSaving

common


fun isDaylightSaving(): Boolean

Is this a daylight savings style?
isGeneric

common


fun isGeneric(): Boolean

Is this a generic style?
isShort

common


fun isShort(): Boolean

Is this a short style?
isStandard

common


fun isStandard(): Boolean

Is this a standard style?
valueOf

common


fun valueOf(value: String): TimeZoneTextStyle

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
values

common


fun values(): Array<TimeZoneTextStyle>

Returns an array containing the constants of this enum type, in the order they're declared.