TimeZoneNameStyle Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 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 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 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 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 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 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 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 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.