# DateTimeFormatterSkeletonOptions.Timezone

# DateTimeFormatterSkeletonOptions.Timezone

Artifact:[androidx.core:core-i18n](https://developer.android.com/jetpack/androidx/releases/core)  
[View Source](https://cs.android.com/search?q=file:androidx/core/i18n/DateTimeFormatterSkeletonOptions.kt+class:androidx.core.i18n.DateTimeFormatterSkeletonOptions.Timezone)  
Added in[1.0.0](https://developer.android.com/jetpack/androidx/releases/core#1.0.0)

*** ** * ** ***

Kotlin\|[Java](https://developer.android.com/reference/androidx/core/i18n/DateTimeFormatterSkeletonOptions.Timezone "View this page in Java")

<br />

```
class DateTimeFormatterSkeletonOptions.Timezone
```

<br />

*** ** * ** ***

The localized representation of the time zone name.

## Summary

|                                                              ### Public companion functions                                                              |
|----------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [DateTimeFormatterSkeletonOptions.Timezone](https://developer.android.com/reference/kotlin/androidx/core/i18n/DateTimeFormatterSkeletonOptions.Timezone) | [fromString](https://developer.android.com/reference/kotlin/androidx/core/i18n/DateTimeFormatterSkeletonOptions.Timezone#fromString(kotlin.String))`(value: `[String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)`)` |

|                                                             ### Public companion properties                                                              |
|----------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [DateTimeFormatterSkeletonOptions.Timezone](https://developer.android.com/reference/kotlin/androidx/core/i18n/DateTimeFormatterSkeletonOptions.Timezone) | [LONG](https://developer.android.com/reference/kotlin/androidx/core/i18n/DateTimeFormatterSkeletonOptions.Timezone#LONG()) Long localized form.                                 |
| [DateTimeFormatterSkeletonOptions.Timezone](https://developer.android.com/reference/kotlin/androidx/core/i18n/DateTimeFormatterSkeletonOptions.Timezone) | [LONG_GENERIC](https://developer.android.com/reference/kotlin/androidx/core/i18n/DateTimeFormatterSkeletonOptions.Timezone#LONG_GENERIC()) Long generic non-location format.    |
| [DateTimeFormatterSkeletonOptions.Timezone](https://developer.android.com/reference/kotlin/androidx/core/i18n/DateTimeFormatterSkeletonOptions.Timezone) | [LONG_OFFSET](https://developer.android.com/reference/kotlin/androidx/core/i18n/DateTimeFormatterSkeletonOptions.Timezone#LONG_OFFSET()) Long localized GMT format.             |
| [DateTimeFormatterSkeletonOptions.Timezone](https://developer.android.com/reference/kotlin/androidx/core/i18n/DateTimeFormatterSkeletonOptions.Timezone) | [NONE](https://developer.android.com/reference/kotlin/androidx/core/i18n/DateTimeFormatterSkeletonOptions.Timezone#NONE()) Produces no output.                                  |
| [DateTimeFormatterSkeletonOptions.Timezone](https://developer.android.com/reference/kotlin/androidx/core/i18n/DateTimeFormatterSkeletonOptions.Timezone) | [SHORT](https://developer.android.com/reference/kotlin/androidx/core/i18n/DateTimeFormatterSkeletonOptions.Timezone#SHORT()) Short localized form.                              |
| [DateTimeFormatterSkeletonOptions.Timezone](https://developer.android.com/reference/kotlin/androidx/core/i18n/DateTimeFormatterSkeletonOptions.Timezone) | [SHORT_GENERIC](https://developer.android.com/reference/kotlin/androidx/core/i18n/DateTimeFormatterSkeletonOptions.Timezone#SHORT_GENERIC()) Short generic non-location format. |
| [DateTimeFormatterSkeletonOptions.Timezone](https://developer.android.com/reference/kotlin/androidx/core/i18n/DateTimeFormatterSkeletonOptions.Timezone) | [SHORT_OFFSET](https://developer.android.com/reference/kotlin/androidx/core/i18n/DateTimeFormatterSkeletonOptions.Timezone#SHORT_OFFSET()) Short localized GMT format.          |

|                               ### Public properties                               |
|-----------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------|
| [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html) | [value](https://developer.android.com/reference/kotlin/androidx/core/i18n/DateTimeFormatterSkeletonOptions.Timezone#value()) |

## Public companion functions

### fromString

Added in[1.0.0](https://developer.android.com/jetpack/androidx/releases/core#1.0.0)  

```
fun fromString(value: String): DateTimeFormatterSkeletonOptions.Timezone
```  

## Public companion properties

### LONG

```
val LONG: DateTimeFormatterSkeletonOptions.Timezone
```

Long localized form. E.g. "Pacific Standard Time", "Nordamerikanische Westküsten-Normalzeit".  

### LONG_GENERIC

```
val LONG_GENERIC: DateTimeFormatterSkeletonOptions.Timezone
```

Long generic non-location format. E.g. "Pacific Time", "Nordamerikanische Westküstenzeit".  

### LONG_OFFSET

```
val LONG_OFFSET: DateTimeFormatterSkeletonOptions.Timezone
```

Long localized GMT format. E.g. "GMT-0800".  

### NONE

```
val NONE: DateTimeFormatterSkeletonOptions.Timezone
```

Produces no output.  

### SHORT

```
val SHORT: DateTimeFormatterSkeletonOptions.Timezone
```

Short localized form. E.g. "PST", "GMT-8".  

### SHORT_GENERIC

```
val SHORT_GENERIC: DateTimeFormatterSkeletonOptions.Timezone
```

Short generic non-location format. E.g. "PT", "Los Angeles Zeit".  

### SHORT_OFFSET

```
val SHORT_OFFSET: DateTimeFormatterSkeletonOptions.Timezone
```

Short localized GMT format. E.g. "GMT-8".  

## Public properties

### value

Added in[1.0.0](https://developer.android.com/jetpack/androidx/releases/core#1.0.0)  

```
val value: String
```