Most visited

Recently visited

Added in API level 24

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

From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

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[]

Hooray!