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
public static final TimeZoneNames.NameType EXEMPLAR_LOCATION

Exemplar location name, such as "Los Angeles".

LONG_DAYLIGHT

Added in API level 24
public static final TimeZoneNames.NameType LONG_DAYLIGHT

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

LONG_GENERIC

Added in API level 24
public static final TimeZoneNames.NameType LONG_GENERIC

Long display name, such as "Eastern Time".

LONG_STANDARD

Added in API level 24
public static final TimeZoneNames.NameType LONG_STANDARD

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

SHORT_DAYLIGHT

Added in API level 24
public static final TimeZoneNames.NameType SHORT_DAYLIGHT

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

SHORT_GENERIC

Added in API level 24
public static final TimeZoneNames.NameType SHORT_GENERIC

Short display name, such as "ET".

SHORT_STANDARD

Added in API level 24
public static final TimeZoneNames.NameType SHORT_STANDARD

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

Public methods

valueOf

public static TimeZoneNames.NameType valueOf (String name)

Parameters
name String

Returns
TimeZoneNames.NameType

values

public static final NameType[] values ()

Returns
NameType[]