JadeTimeZone Methods

The methods defined in the JadeTimeZone class are summarized in the following table.

Methods Description
convertTimeByTimeZone Converts the timestamp of the specified receiver time zone to the timestamp of the specified foreign time zone
convertTimeFromUtc Converts the specified timestamp from Coordinated Universal Time (UTC) to the time zone
convertTimeToUtc Converts the specified timestamp from the local time zone to UTC
createTimeZoneByLocationWindows Returns a JadeTimeZone object that matches the local time zone defined in the Windows registry of the specified location
createTimeZoneByName Returns the time zone information matching the specified name (in IANA format) from the registry
createTimeZoneByNameWindows Returns the time zone information matching the specified Windows name from the registry
getDaylightBias Returns the daylight saving time offset in minutes from UTC to the time zone of the specified year
getDaylightSavingName Returns the value of the daylightTimeName or standardTimeName property, depending on whether daylight savings is active for the specified timestamp
getDaylightTransition Returns a timestamp representing the date and time at which the time zone transitions to daylight saving time in the specified year
getStandardTransition Returns a timestamp representing the date and time at which the time zone transitions to standard time in the specified year
getWindowsTimeZoneNameByLocation Returns the Windows name of the local time zone of the device at the specified location
getUtcBias Returns the time offset in minutes from UTC to the time zone at the specified timestamp, accounting for whether daylight saving is active for the specified timestamp
isDaylightSaving Returns whether daylight saving is active during the specified timestamp for the time zone
retrieveHistoricalTimeZone Returns a historical time zone for the specified year
utcBiasToOffsetString

Returns the offset in the format hh:mm for the specified bias

2020.0.01 and higher