The OpenD Programming Language

std.datetime.timezone

Members

Classes

LocalTime
class LocalTime

A TimeZone which represents the current local time zone on the system running your program.

PosixTimeZone
class PosixTimeZone

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.

SimpleTimeZone
class SimpleTimeZone

Represents a time zone with an offset (in minutes, west is negative) from UTC but no DST.

TimeZone
class TimeZone

Represents a time zone. It is used with std.datetime.systime.SysTime to indicate the time zone of a std.datetime.systime.SysTime.

UTC
class UTC

A TimeZone which represents UTC.

WindowsTimeZone
class WindowsTimeZone

This class is Windows-Only.

Functions

clearTZEnvVar
void clearTZEnvVar()

This function is Posix-Only.

parseTZConversions
TZConversions parseTZConversions(string windowsZonesXMLText)

Provides the conversions between the IANA time zone database time zone names (which POSIX systems use) and the time zone names that Windows uses.

setTZEnvVar
void setTZEnvVar(string tzDatabaseName)

This function is Posix-Only.

Structs

TZConversions
struct TZConversions

Provides the conversions between the IANA time zone database time zone names (which POSIX systems use) and the time zone names that Windows uses.

Meta