TimeZoneNames.NameType

public static final enum TimeZoneNames.NameType
extends Enum<TimeZoneNames.NameType>

java.lang.Object
   ↳ java.lang.Enum<android.icu.text.TimeZoneNames.NameType>
     ↳ android.icu.text.TimeZoneNames.NameType


Time zone display name types

Summary

Enum values

TimeZoneNames.NameType  EXEMPLAR_LOCATION

Exemplar location name, such as "Los Angeles". 

TimeZoneNames.NameType  LONG_DAYLIGHT

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

TimeZoneNames.NameType  LONG_GENERIC

Long display name, such as "Eastern Time". 

TimeZoneNames.NameType  LONG_STANDARD

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

TimeZoneNames.NameType  SHORT_DAYLIGHT

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

TimeZoneNames.NameType  SHORT_GENERIC

Short display name, such as "ET". 

TimeZoneNames.NameType  SHORT_STANDARD

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

Public methods

static TimeZoneNames.NameType valueOf(String name)
static final NameType[] values()

Inherited methods

Enum values

EXEMPLAR_LOCATION

added in API level 24
TimeZoneNames.NameType EXEMPLAR_LOCATION

Exemplar location name, such as "Los Angeles".

LONG_DAYLIGHT

added in API level 24
TimeZoneNames.NameType LONG_DAYLIGHT

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

LONG_GENERIC

added in API level 24
TimeZoneNames.NameType LONG_GENERIC

Long display name, such as "Eastern Time".

LONG_STANDARD

added in API level 24
TimeZoneNames.NameType LONG_STANDARD

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

SHORT_DAYLIGHT

added in API level 24
TimeZoneNames.NameType SHORT_DAYLIGHT

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

SHORT_GENERIC

added in API level 24
TimeZoneNames.NameType SHORT_GENERIC

Short display name, such as "ET".

SHORT_STANDARD

added in API level 24
TimeZoneNames.NameType SHORT_STANDARD

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

Public methods

valueOf

added in API level 24
TimeZoneNames.NameType valueOf (String name)

Parameters
name String

Returns
TimeZoneNames.NameType

values

added in API level 24
NameType[] values ()

Returns
NameType[]