# TimeZoneFormat.GMTOffsetPatternType

Added in[API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

# GMTOffsetPatternType

*** ** * ** ***

Kotlin\|[Java](https://developer.android.com/reference/android/icu/text/TimeZoneFormat.GMTOffsetPatternType "View this page in Java")  

```
class GMTOffsetPatternType
```

|---|---|--------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)                                                                                  |||
| ↳ | [kotlin.Enum](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-enum/index.html)\<[android.icu.text.TimeZoneFormat.GMTOffsetPatternType](https://developer.android.com/reference/kotlin/android/icu/text/TimeZoneFormat.GMTOffsetPatternType#)\> ||
|   | ↳ | [android.icu.text.TimeZoneFormat.GMTOffsetPatternType](https://developer.android.com/reference/kotlin/android/icu/text/TimeZoneFormat.GMTOffsetPatternType#) |

|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| Known Direct Subclasses [TimeZoneFormat.GMTOffsetPatternType.NEGATIVE_H](https://developer.android.com/reference/kotlin/android/icu/text/TimeZoneFormat.GMTOffsetPatternType#ENUM_VALUE:NEGATIVE_H),[TimeZoneFormat.GMTOffsetPatternType.NEGATIVE_HM](https://developer.android.com/reference/kotlin/android/icu/text/TimeZoneFormat.GMTOffsetPatternType#ENUM_VALUE:NEGATIVE_HM),[TimeZoneFormat.GMTOffsetPatternType.NEGATIVE_HMS](https://developer.android.com/reference/kotlin/android/icu/text/TimeZoneFormat.GMTOffsetPatternType#ENUM_VALUE:NEGATIVE_HMS),[TimeZoneFormat.GMTOffsetPatternType.POSITIVE_H](https://developer.android.com/reference/kotlin/android/icu/text/TimeZoneFormat.GMTOffsetPatternType#ENUM_VALUE:POSITIVE_H),[TimeZoneFormat.GMTOffsetPatternType.POSITIVE_HM](https://developer.android.com/reference/kotlin/android/icu/text/TimeZoneFormat.GMTOffsetPatternType#ENUM_VALUE:POSITIVE_HM),[TimeZoneFormat.GMTOffsetPatternType.POSITIVE_HMS](https://developer.android.com/reference/kotlin/android/icu/text/TimeZoneFormat.GMTOffsetPatternType#ENUM_VALUE:POSITIVE_HMS) |---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------| | [TimeZoneFormat.GMTOffsetPatternType.NEGATIVE_H](https://developer.android.com/reference/kotlin/android/icu/text/TimeZoneFormat.GMTOffsetPatternType#ENUM_VALUE:NEGATIVE_H)     | Negative offset with hours field                       | | [TimeZoneFormat.GMTOffsetPatternType.NEGATIVE_HM](https://developer.android.com/reference/kotlin/android/icu/text/TimeZoneFormat.GMTOffsetPatternType#ENUM_VALUE:NEGATIVE_HM)   | Negative offset with hours and minutes fields          | | [TimeZoneFormat.GMTOffsetPatternType.NEGATIVE_HMS](https://developer.android.com/reference/kotlin/android/icu/text/TimeZoneFormat.GMTOffsetPatternType#ENUM_VALUE:NEGATIVE_HMS) | Negative offset with hours, minutes and seconds fields | | [TimeZoneFormat.GMTOffsetPatternType.POSITIVE_H](https://developer.android.com/reference/kotlin/android/icu/text/TimeZoneFormat.GMTOffsetPatternType#ENUM_VALUE:POSITIVE_H)     | Positive offset with hours field                       | | [TimeZoneFormat.GMTOffsetPatternType.POSITIVE_HM](https://developer.android.com/reference/kotlin/android/icu/text/TimeZoneFormat.GMTOffsetPatternType#ENUM_VALUE:POSITIVE_HM)   | Positive offset with hours and minutes fields          | | [TimeZoneFormat.GMTOffsetPatternType.POSITIVE_HMS](https://developer.android.com/reference/kotlin/android/icu/text/TimeZoneFormat.GMTOffsetPatternType#ENUM_VALUE:POSITIVE_HMS) | Positive offset with hours, minutes and seconds fields | |

Offset pattern type enum.

## Summary

|                                                                                              Enum values                                                                                              ||
|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|
| [NEGATIVE_H](https://developer.android.com/reference/kotlin/android/icu/text/TimeZoneFormat.GMTOffsetPatternType#ENUM_VALUE:NEGATIVE_H) Negative offset with hours field                           |
| [NEGATIVE_HM](https://developer.android.com/reference/kotlin/android/icu/text/TimeZoneFormat.GMTOffsetPatternType#ENUM_VALUE:NEGATIVE_HM) Negative offset with hours and minutes fields            |
| [NEGATIVE_HMS](https://developer.android.com/reference/kotlin/android/icu/text/TimeZoneFormat.GMTOffsetPatternType#ENUM_VALUE:NEGATIVE_HMS) Negative offset with hours, minutes and seconds fields |
| [POSITIVE_H](https://developer.android.com/reference/kotlin/android/icu/text/TimeZoneFormat.GMTOffsetPatternType#ENUM_VALUE:POSITIVE_H) Positive offset with hours field                           |
| [POSITIVE_HM](https://developer.android.com/reference/kotlin/android/icu/text/TimeZoneFormat.GMTOffsetPatternType#ENUM_VALUE:POSITIVE_HM) Positive offset with hours and minutes fields            |
| [POSITIVE_HMS](https://developer.android.com/reference/kotlin/android/icu/text/TimeZoneFormat.GMTOffsetPatternType#ENUM_VALUE:POSITIVE_HMS) Positive offset with hours, minutes and seconds fields |

## Enum values

### NEGATIVE_H

Added in[API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
enum val NEGATIVE_H : TimeZoneFormat.GMTOffsetPatternType
```

Negative offset with hours field  

### NEGATIVE_HM

Added in[API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
enum val NEGATIVE_HM : TimeZoneFormat.GMTOffsetPatternType
```

Negative offset with hours and minutes fields  

### NEGATIVE_HMS

Added in[API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
enum val NEGATIVE_HMS : TimeZoneFormat.GMTOffsetPatternType
```

Negative offset with hours, minutes and seconds fields  

### POSITIVE_H

Added in[API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
enum val POSITIVE_H : TimeZoneFormat.GMTOffsetPatternType
```

Positive offset with hours field  

### POSITIVE_HM

Added in[API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
enum val POSITIVE_HM : TimeZoneFormat.GMTOffsetPatternType
```

Positive offset with hours and minutes fields  

### POSITIVE_HMS

Added in[API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
enum val POSITIVE_HMS : TimeZoneFormat.GMTOffsetPatternType
```

Positive offset with hours, minutes and seconds fields