Added in API level 24

NameType


class NameType
kotlin.Any
   ↳ kotlin.Enum<android.icu.text.TimeZoneNames.NameType>
   ↳ android.icu.text.TimeZoneNames.NameType

Time zone display name types

Summary

Enum values

Exemplar location name, such as "Los Angeles".

Long display name for daylight saving time, such as "Eastern Daylight Time".

Long display name, such as "Eastern Time".

Long display name for standard time, such as "Eastern Standard Time".

Short display name for daylight saving time, such as "EDT".

Short display name, such as "ET".

Short display name for standard time, such as "EST".

Enum values

EXEMPLAR_LOCATION

Added in API level 24
enum val EXEMPLAR_LOCATION : TimeZoneNames.NameType

Exemplar location name, such as "Los Angeles".

LONG_DAYLIGHT

Added in API level 24
enum val LONG_DAYLIGHT : TimeZoneNames.NameType

Long display name for daylight saving time, such as "Eastern Daylight Time".

LONG_GENERIC

Added in API level 24
enum val LONG_GENERIC : TimeZoneNames.NameType

Long display name, such as "Eastern Time".

LONG_STANDARD

Added in API level 24
enum val LONG_STANDARD : TimeZoneNames.NameType

Long display name for standard time, such as "Eastern Standard Time".

SHORT_DAYLIGHT

Added in API level 24
enum val SHORT_DAYLIGHT : TimeZoneNames.NameType

Short display name for daylight saving time, such as "EDT".

SHORT_GENERIC

Added in API level 24
enum val SHORT_GENERIC : TimeZoneNames.NameType

Short display name, such as "ET".

SHORT_STANDARD

Added in API level 24
enum val SHORT_STANDARD : TimeZoneNames.NameType

Short display name for standard time, such as "EST".