TimeZone
Stay organized with collections
Save and categorize content based on your preferences.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-22 UTC.
[null,null,["Last updated 2025-01-22 UTC."],[[["\u003cp\u003eThe JSON object represents a time zone from the IANA Time Zone Database.\u003c/p\u003e\n"],["\u003cp\u003eIt includes an \u003ccode\u003eid\u003c/code\u003e field specifying the time zone (e.g., "America/New_York") and an optional \u003ccode\u003eversion\u003c/code\u003e field indicating the IANA database version.\u003c/p\u003e\n"]]],["The JSON representation describes a time zone using its IANA identifier and version. The `id` field, a string, specifies the IANA Time Zone Database time zone, such as \"America/New_York.\" The `version` field, also a string, is optional and indicates the IANA Time Zone Database version number, like \"2019a.\" This structure allows identifying the time zone with the possibility to indicate a specific version.\n"],null,["# TimeZone\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n\nRepresents a time zone from the [IANA Time Zone Database](https://www.iana.org/time-zones).\n\n| JSON representation |\n|---------------------------------------------|\n| ``` { \"id\": string, \"version\": string } ``` |\n\n| Fields ||\n|-----------|---------------------------------------------------------------------------------|\n| `id` | `string` IANA Time Zone Database time zone. For example \"America/New_York\". |\n| `version` | `string` Optional. IANA Time Zone Database version number. For example \"2019a\". |"]]