Category | Functions |
---|---|
Time zones | TimeZone UTC LocalTime PosixTimeZone WindowsTimeZone SimpleTimeZone |
Utilities | clearTZEnvVar parseTZConversions setTZEnvVar TZConversions |
A TimeZone which represents the current local time zone on the system running your program.
Represents a time zone from a TZ Database time zone file. Files from the TZ Database are how Posix systems hold their time zone information. Unfortunately, Windows does not use the TZ Database. To use the TZ Database, use PosixTimeZone (which reads its information from the TZ Database files on disk) on Windows by providing the TZ Database files and telling PosixTimeZone.getTimeZone where the directory holding them is.
Represents a time zone with an offset (in minutes, west is negative) from UTC but no DST.
Represents a time zone. It is used with std.datetime.systime.SysTime to indicate the time zone of a std.datetime.systime.SysTime.
A TimeZone which represents UTC.
This class is Windows-Only.
This function is Posix-Only.
Provides the conversions between the IANA time zone database time zone names (which POSIX systems use) and the time zone names that Windows uses.
This function is Posix-Only.
Provides the conversions between the IANA time zone database time zone names (which POSIX systems use) and the time zone names that Windows uses.