Stay organized with collections
Save and categorize content based on your preferences.
GMTOffsetPatternType
class GMTOffsetPatternType
Offset pattern type enum.
Summary
Enum values |
Negative offset with hours field
|
Negative offset with hours and minutes fields
|
Negative offset with hours, minutes and seconds fields
|
Positive offset with hours field
|
Positive offset with hours and minutes fields
|
Positive offset with hours, minutes and seconds fields
|
Enum values
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-10 UTC."],[],[],null,["# TimeZoneFormat.GMTOffsetPatternType\n\nAdded in [API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)\n\nGMTOffsetPatternType\n====================\n\n*** ** * ** ***\n\nKotlin \\|[Java](/reference/android/icu/text/TimeZoneFormat.GMTOffsetPatternType \"View this page in Java\") \n\n```\nclass GMTOffsetPatternType\n```\n\n|---|---|-----------------------------------------------------------|\n| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html) |||\n| ↳ | [kotlin.Enum](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-enum/index.html)\\\u003c[android.icu.text.TimeZoneFormat.GMTOffsetPatternType](#)\\\u003e ||\n| | ↳ | [android.icu.text.TimeZoneFormat.GMTOffsetPatternType](#) |\n\n|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Known Direct Subclasses [TimeZoneFormat.GMTOffsetPatternType.NEGATIVE_H](#ENUM_VALUE:NEGATIVE_H), [TimeZoneFormat.GMTOffsetPatternType.NEGATIVE_HM](#ENUM_VALUE:NEGATIVE_HM), [TimeZoneFormat.GMTOffsetPatternType.NEGATIVE_HMS](#ENUM_VALUE:NEGATIVE_HMS), [TimeZoneFormat.GMTOffsetPatternType.POSITIVE_H](#ENUM_VALUE:POSITIVE_H), [TimeZoneFormat.GMTOffsetPatternType.POSITIVE_HM](#ENUM_VALUE:POSITIVE_HM), [TimeZoneFormat.GMTOffsetPatternType.POSITIVE_HMS](#ENUM_VALUE:POSITIVE_HMS) |------------------------------------------------------------------------------|--------------------------------------------------------| | [TimeZoneFormat.GMTOffsetPatternType.NEGATIVE_H](#ENUM_VALUE:NEGATIVE_H) | Negative offset with hours field | | [TimeZoneFormat.GMTOffsetPatternType.NEGATIVE_HM](#ENUM_VALUE:NEGATIVE_HM) | Negative offset with hours and minutes fields | | [TimeZoneFormat.GMTOffsetPatternType.NEGATIVE_HMS](#ENUM_VALUE:NEGATIVE_HMS) | Negative offset with hours, minutes and seconds fields | | [TimeZoneFormat.GMTOffsetPatternType.POSITIVE_H](#ENUM_VALUE:POSITIVE_H) | Positive offset with hours field | | [TimeZoneFormat.GMTOffsetPatternType.POSITIVE_HM](#ENUM_VALUE:POSITIVE_HM) | Positive offset with hours and minutes fields | | [TimeZoneFormat.GMTOffsetPatternType.POSITIVE_HMS](#ENUM_VALUE:POSITIVE_HMS) | Positive offset with hours, minutes and seconds fields | |\n\nOffset pattern type enum.\n\nSummary\n-------\n\n| Enum values ||\n|-------------------------------------------------------------------------------------------------|---|\n| [NEGATIVE_H](#ENUM_VALUE:NEGATIVE_H) Negative offset with hours field |\n| [NEGATIVE_HM](#ENUM_VALUE:NEGATIVE_HM) Negative offset with hours and minutes fields |\n| [NEGATIVE_HMS](#ENUM_VALUE:NEGATIVE_HMS) Negative offset with hours, minutes and seconds fields |\n| [POSITIVE_H](#ENUM_VALUE:POSITIVE_H) Positive offset with hours field |\n| [POSITIVE_HM](#ENUM_VALUE:POSITIVE_HM) Positive offset with hours and minutes fields |\n| [POSITIVE_HMS](#ENUM_VALUE:POSITIVE_HMS) Positive offset with hours, minutes and seconds fields |\n\nEnum values\n-----------\n\n### NEGATIVE_H\n\nAdded in [API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nenum val NEGATIVE_H : TimeZoneFormat.GMTOffsetPatternType\n```\n\nNegative offset with hours field \n\n### NEGATIVE_HM\n\nAdded in [API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nenum val NEGATIVE_HM : TimeZoneFormat.GMTOffsetPatternType\n```\n\nNegative offset with hours and minutes fields \n\n### NEGATIVE_HMS\n\nAdded in [API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nenum val NEGATIVE_HMS : TimeZoneFormat.GMTOffsetPatternType\n```\n\nNegative offset with hours, minutes and seconds fields \n\n### POSITIVE_H\n\nAdded in [API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nenum val POSITIVE_H : TimeZoneFormat.GMTOffsetPatternType\n```\n\nPositive offset with hours field \n\n### POSITIVE_HM\n\nAdded in [API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nenum val POSITIVE_HM : TimeZoneFormat.GMTOffsetPatternType\n```\n\nPositive offset with hours and minutes fields \n\n### POSITIVE_HMS\n\nAdded in [API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nenum val POSITIVE_HMS : TimeZoneFormat.GMTOffsetPatternType\n```\n\nPositive offset with hours, minutes and seconds fields"]]