The innovaphone.TimeZones
object provides mappings of time zone identifiers to their respective time zone names and UTC offsets. This is useful for applications that need to present or handle time zone information.
The innovaphone.TimeZones
object is structured as a dictionary (or map) where each key is a time zone identifier (based on the IANA time zone database) and the value is a string that includes the time zone name and its UTC offset.
// Accessing the time zone information for 'Europe/Berlin'
var berlinTimeZone = innovaphone.TimeZones["Europe/Berlin"];
console.log(berlinTimeZone); // Output: "Central European Time (CET), UTC+01:00"
The innovaphone.TimeZones
object itself does not have methods, but it provides a structure for easy access to time zone data.
{
"Europe/Berlin": "Central European Time (CET), UTC+01:00",
"America/New_York": "Eastern Standard Time (EST), UTC-05:00",
"Asia/Tokyo": "Japan Standard Time (JST), UTC+09:00"
}