Language

TimeZoneNameStyle Enum

Definition

public enum TimeZoneNameStyle
type TimeZoneNameStyle = 
Inheritance
TimeZoneNameStyle

Fields

Name Value Description
Short 0

A style specifier for getDisplayName() indicating a short name, such as "PST."

Android reference for android.icu.util.TimeZone.SHORT.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Long 1

A style specifier for getDisplayName() indicating a long name, such as "Pacific Standard Time."

Android reference for android.icu.util.TimeZone.LONG.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

ShortGeneric 2

[icu] A style specifier for getDisplayName() indicating a short generic name, such as "PT."

Android reference for android.icu.util.TimeZone.SHORT_GENERIC.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

LongGeneric 3

[icu] A style specifier for getDisplayName() indicating a long generic name, such as "Pacific Time."

Android reference for android.icu.util.TimeZone.LONG_GENERIC.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

ShortGmt 4

[icu] A style specifier for getDisplayName() indicating a short name derived from the timezone's offset, such as "-0800."

Android reference for android.icu.util.TimeZone.SHORT_GMT.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

LongGmt 5

[icu] A style specifier for getDisplayName() indicating a long name derived from the timezone's offset, such as "GMT-08:00."

Android reference for android.icu.util.TimeZone.LONG_GMT.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

ShortCommonlyUsed 6

[icu] A style specifier for getDisplayName() indicating a short name derived from the timezone's short standard or daylight timezone name ignoring commonlyUsed, such as "PDT."

Android reference for android.icu.util.TimeZone.SHORT_COMMONLY_USED.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

GenericLocation 7

[icu] A style specifier for getDisplayName() indicating a long name derived from the timezone's fallback name, such as "United States (Los Angeles)."

Android reference for android.icu.util.TimeZone.GENERIC_LOCATION.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to