Detailed Description

A date/time class

This class interacts with system times represented as 64bit ints. The various OS support different formats for that 64bit int values. On windows the system times are in 100-nanosecond intervals since January 1, 1601 (UTC), as per the FILETIME structure, on Posix systems (Linux/Mac) the 64bit values are in milliseconds since January 1, 1970 UTC. This is just unix time * 1000. If you are serializing these 64bit values you should take that into account, they are NOT cross platform. The GDirectory class uses the same 64bit values as accepted here for the file's last modified timestamp etc. To convert the 64bit values to seconds, divide by GDateTime::Second64Bit, useful for calculating the time in seconds between 2 GDateTime objects.

Retreives daylight savings start and end events for a given period. One event will be emitted for the current DST/TZ setting at the datetime specified by 'Start', followed by any changes that occur between that and the 'End' datetime. To retreive just the DST info for start, use NULL for end.

Parameters:

Out

[Out] The array to receive DST info. At minimum one record will be returned matching the TZ in place for the start datetime.