|Maintainer||Mihaly Barasz <firstname.lastname@example.org>|
Various ways of loading
Reads and parses a time zone information file (in
aka. Olson file format) and returns the corresponding TZ data
Looks for the time zone file in the system timezone directory, which is
/usr/share/zoneinfo, or if the
TZDIR environment variable is
set, then there.
Return the path for a time zone file in the system time zone directory.
The system directory is specified by the
TZDIR environment variable,
/usr/share/zoneinfo if it's not set.
Returns the local
TZ based on the
tzset(3) for details, but basically:
TZenvironment variable is unset, we
TZis set, but empty, we
- Otherwise, we just
Note, this means we don't support POSIX-style
TZ variables (like
"EST5EDT"), only those that are explicitly present in the time
Reads the corresponding file from the time zone database shipped with this package.