# Print output for @column tags ?>
Developers

- Design
- Develop
- Distribute

Developer Console

## Most visited

## Recently visited

## Results for

Summary: Enums | Methods | Inherited Methods

# TimeZoneFormat.Style

`public static final enum TimeZoneFormat.Style`
`` `extends Enum<TimeZoneFormat.Style>` ``

java.lang.Object
↳ | java.lang.Enum<android.icu.text.TimeZoneFormat.Style>
| ↳ | android.icu.text.TimeZoneFormat.Style

Time zone display format style enum used by format/parse APIs in `TimeZoneFormat`.

See also:

- `TimeZoneFormat.format(Style, TimeZone, long)`
- `TimeZoneFormat.format(Style, TimeZone, long, Output)`
- `TimeZoneFormat.parse(Style, String, ParsePosition, Output)`

## Summary

### Enum values
`TimeZoneFormat.Style` | `EXEMPLAR_LOCATION` Exemplar location, such as "Los Angeles" and "Paris".
`TimeZoneFormat.Style` | `GENERIC_LOCATION` Generic location format, such as "United States Time (New York)" and "Italy Time".
`TimeZoneFormat.Style` | `GENERIC_LONG` Generic long non-location format, such as "Eastern Time".
`TimeZoneFormat.Style` | `GENERIC_SHORT` Generic short non-location format, such as "ET".
`TimeZoneFormat.Style` | `ISO_BASIC_FIXED` Fixed width ISO 8601 local time difference (basic format) or the UTC indicator.
`TimeZoneFormat.Style` | `ISO_BASIC_FULL` ISO 8601 local time difference (basic format) with optional seconds field, or the UTC indicator.
`TimeZoneFormat.Style` | `ISO_BASIC_LOCAL_FIXED` Fixed width ISO 8601 local time difference (basic format).
`TimeZoneFormat.Style` | `ISO_BASIC_LOCAL_FULL` ISO 8601 local time difference (basic format) with optional seconds field.
`TimeZoneFormat.Style` | `ISO_BASIC_LOCAL_SHORT` Short ISO 8601 locale time difference (basic format).
`TimeZoneFormat.Style` | `ISO_BASIC_SHORT` Short ISO 8601 local time difference (basic format) or the UTC indicator.
`TimeZoneFormat.Style` | `ISO_EXTENDED_FIXED` Fixed width ISO 8601 local time difference (extended format) or the UTC indicator.
`TimeZoneFormat.Style` | `ISO_EXTENDED_FULL` ISO 8601 local time difference (extended format) with optional seconds field, or the UTC indicator.
`TimeZoneFormat.Style` | `ISO_EXTENDED_LOCAL_FIXED` Fixed width ISO 8601 local time difference (extended format).
`TimeZoneFormat.Style` | `ISO_EXTENDED_LOCAL_FULL` ISO 8601 local time difference (extended format) with optional seconds field.
`TimeZoneFormat.Style` | `LOCALIZED_GMT` Localized GMT offset format, such as "GMT-05:00", "UTC+0100" This style is equivalent to the LDML date format pattern "OOOO" and "ZZZZ"
`TimeZoneFormat.Style` | `LOCALIZED_GMT_SHORT` Short localized GMT offset format, such as "GMT-5", "UTC+1:30" This style is equivalent to the LDML date format pattern "O".
`TimeZoneFormat.Style` | `SPECIFIC_LONG` Specific long format, such as "Eastern Standard Time".
`TimeZoneFormat.Style` | `SPECIFIC_SHORT` Specific short format, such as "EST", "PDT".
`TimeZoneFormat.Style` | `ZONE_ID` Time Zone ID, such as "America/Los_Angeles".
`TimeZoneFormat.Style` | `ZONE_ID_SHORT` Short Time Zone ID (BCP 47 Unicode location extension, time zone type value), such as "uslax".

### Public methods
`static TimeZoneFormat.Style` | `valueOf(String name)`
`static final Style[]` | `values()`

### Inherited methods
From class `java.lang.Enum`
`final Object` | `clone()` Throws CloneNotSupportedException.
`final int` | `compareTo(TimeZoneFormat.Style o)` Compares this enum with the specified object for order.
`final boolean` | `equals(Object other)` Returns true if the specified object is equal to this enum constant.
`final void` | `finalize()` enum classes cannot have finalize methods.
`final Class<TimeZoneFormat.Style>` | `getDeclaringClass()` Returns the Class object corresponding to this enum constant's enum type.
`final int` | `hashCode()` Returns a hash code for this enum constant.
`final String` | `name()` Returns the name of this enum constant, exactly as declared in its enum declaration.
`final int` | `ordinal()` Returns the ordinal of this enumeration constant (its position in its enum declaration, where the initial constant is assigned an ordinal of zero).
`String` | `toString()` Returns the name of this enum constant, as contained in the declaration.
`static <T extends Enum<T>> T` | `valueOf(Class<T> enumType, String name)` Returns the enum constant of the specified enum type with the specified name.
From class `java.lang.Object`
`Object` | `clone()` Creates and returns a copy of this object.
`boolean` | `equals(Object obj)` Indicates whether some other object is "equal to" this one.
`void` | `finalize()` Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.
`final Class<?>` | `getClass()` Returns the runtime class of this `Object`.
`int` | `hashCode()` Returns a hash code value for the object.
`final void` | `notify()` Wakes up a single thread that is waiting on this object's monitor.
`final void` | `notifyAll()` Wakes up all threads that are waiting on this object's monitor.
`String` | `toString()` Returns a string representation of the object.
`final void` | `wait(long timeout, int nanos)` Causes the current thread to wait until another thread invokes the `notify()` method or the `notifyAll()` method for this object, or some other thread interrupts the current thread, or a certain amount of real time has elapsed.
`final void` | `wait(long timeout)` Causes the current thread to wait until either another thread invokes the `notify()` method or the `notifyAll()` method for this object, or a specified amount of time has elapsed.
`final void` | `wait()` Causes the current thread to wait until another thread invokes the `notify()` method or the `notifyAll()` method for this object.
From interface `java.lang.Comparable`
`abstract int` | `compareTo(TimeZoneFormat.Style o)` Compares this object with the specified object for order.

## Enum values

### EXEMPLAR_LOCATION

    public static final TimeZoneFormat.Style EXEMPLAR_LOCATION

Exemplar location, such as "Los Angeles" and "Paris".

### GENERIC_LOCATION

    public static final TimeZoneFormat.Style GENERIC_LOCATION

Generic location format, such as "United States Time (New York)" and "Italy Time". This style is equivalent to the LDML date format pattern "VVVV".

### GENERIC_LONG

    public static final TimeZoneFormat.Style GENERIC_LONG

Generic long non-location format, such as "Eastern Time". This style is equivalent to the LDML date format pattern "vvvv".

### GENERIC_SHORT

    public static final TimeZoneFormat.Style GENERIC_SHORT

Generic short non-location format, such as "ET". This style is equivalent to the LDML date format pattern "v".

### ISO_BASIC_FIXED

    public static final TimeZoneFormat.Style ISO_BASIC_FIXED

Fixed width ISO 8601 local time difference (basic format) or the UTC indicator. For example, "-0500", "+0530", and "Z"(UTC). This style is equivalent to the LDML date format pattern "XX".

### ISO_BASIC_FULL

    public static final TimeZoneFormat.Style ISO_BASIC_FULL

ISO 8601 local time difference (basic format) with optional seconds field, or the UTC indicator. For example, "-0500", "+052538", and "Z"(UTC). This style is equivalent to the LDML date format pattern "XXXX".

### ISO_BASIC_LOCAL_FIXED

    public static final TimeZoneFormat.Style ISO_BASIC_LOCAL_FIXED

Fixed width ISO 8601 local time difference (basic format). For example, "-0500" and "+0530". This style is equivalent to the LDML date format pattern "xx".

### ISO_BASIC_LOCAL_FULL

    public static final TimeZoneFormat.Style ISO_BASIC_LOCAL_FULL

ISO 8601 local time difference (basic format) with optional seconds field. For example, "-0500" and "+052538". This style is equivalent to the LDML date format pattern "xxxx".

### ISO_BASIC_LOCAL_SHORT

    public static final TimeZoneFormat.Style ISO_BASIC_LOCAL_SHORT

Short ISO 8601 locale time difference (basic format). For example, "-05" and "+0530". This style is equivalent to the LDML date format pattern "x".

### ISO_BASIC_SHORT

    public static final TimeZoneFormat.Style ISO_BASIC_SHORT

Short ISO 8601 local time difference (basic format) or the UTC indicator. For example, "-05", "+0530", and "Z"(UTC). This style is equivalent to the LDML date format pattern "X".

### ISO_EXTENDED_FIXED

    public static final TimeZoneFormat.Style ISO_EXTENDED_FIXED

Fixed width ISO 8601 local time difference (extended format) or the UTC indicator. For example, "-05:00", "+05:30", and "Z"(UTC). This style is equivalent to the LDML date format pattern "XXX".

### ISO_EXTENDED_FULL

    public static final TimeZoneFormat.Style ISO_EXTENDED_FULL

ISO 8601 local time difference (extended format) with optional seconds field, or the UTC indicator. For example, "-05:00", "+05:25:38", and "Z"(UTC). This style is equivalent to the LDML date format pattern "XXXXX".

### ISO_EXTENDED_LOCAL_FIXED

    public static final TimeZoneFormat.Style ISO_EXTENDED_LOCAL_FIXED

Fixed width ISO 8601 local time difference (extended format). For example, "-05:00" and "+05:30". This style is equivalent to the LDML date format pattern "xxx" and "ZZZZZ".

### ISO_EXTENDED_LOCAL_FULL

    public static final TimeZoneFormat.Style ISO_EXTENDED_LOCAL_FULL

ISO 8601 local time difference (extended format) with optional seconds field. For example, "-05:00" and "+05:25:38". This style is equivalent to the LDML date format pattern "xxxxx".

### LOCALIZED_GMT

    public static final TimeZoneFormat.Style LOCALIZED_GMT

Localized GMT offset format, such as "GMT-05:00", "UTC+0100" This style is equivalent to the LDML date format pattern "OOOO" and "ZZZZ"

### LOCALIZED_GMT_SHORT

    public static final TimeZoneFormat.Style LOCALIZED_GMT_SHORT

Short localized GMT offset format, such as "GMT-5", "UTC+1:30" This style is equivalent to the LDML date format pattern "O".

### SPECIFIC_LONG

    public static final TimeZoneFormat.Style SPECIFIC_LONG

Specific long format, such as "Eastern Standard Time". This style is equivalent to the LDML date format pattern "zzzz".

### SPECIFIC_SHORT

    public static final TimeZoneFormat.Style SPECIFIC_SHORT

Specific short format, such as "EST", "PDT". This style is equivalent to the LDML date format pattern "z".

### ZONE_ID

    public static final TimeZoneFormat.Style ZONE_ID

Time Zone ID, such as "America/Los_Angeles".

### ZONE_ID_SHORT

    public static final TimeZoneFormat.Style ZONE_ID_SHORT

Short Time Zone ID (BCP 47 Unicode location extension, time zone type value), such as "uslax".

## Public methods

### valueOf

    public static TimeZoneFormat.Style valueOf (String name)

Parameters
`name` | `String`

Returns
`TimeZoneFormat.Style` |

### values

    public static final Style[] values ()

Returns
`Style[]` |

Full name *
Email address *
Company / developer name
One of your Play Store app URLs *
Which best describes your business:*
Apps
Games
Apps & Games
*
*