JadeTimeZone Class
The JadeTimeZone class enables you to obtain information about and perform conversions between different time zones. It also supports differing daylight saving rules across different time zones.
JadeTimeZone objects are transient only. You cannot create persistent or shared transient instances.
The JadeTimeZone class cannot be instantiated with a create call. You must instantiate it with the createTimeZoneByName or createTimeZoneByLocation method, both of which are type methods of the JadeTimeZone class that return an instantiated JadeTimeZone object.
The JadeTimeZone class takes its time zone information from the Windows registry, where the time zone data is located at device\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones. When not running in single user mode, time zone information is always taken from the registry of the device on which the database server is running, to ensure consistent information across all nodes.
Create your own transient JadeTimeZone subclasses to:
-
Obtain information about time offsets and daylight saving for various regions; for example, coordinating communication between different time zones, providing information about time zones, having systems automatically perform actions switching over to or from daylight saving, and so on
-
Use JadeTimeZone objects to perform timestamp conversions for different time zones and timestamps
-
Convert a time zone for a past or future timestamp, where the daylight saving state may differ from the current daylight saving state
When performing time conversions, time offsets are measured in minutes.
For details about the properties and methods defined in the JadeTimeZone class, see "JadeTimeZone Properties" and "JadeTimeZone Methods", in the following subsections.
(None)
2020.0.01 and higher