Oberon || Library || Module Index || Search Engine || Definition || Module


Ulm's Oberon Library:
UnixTimezones


NAME

UnixTimezones - standard implementation of Timeszones under UNIX

SYNOPSIS

PROCEDURE Create(VAR tz: Timezones.Timezone;
                 s: Streams.Stream;
                 errors: RelatedEvents.Object) : BOOLEAN;

PROCEDURE SetZoneinfoDir(dirname: ARRAY OF CHAR);

DESCRIPTION

UnixTimezones, when initialized, registers itself at Timezones using Timezones.Declare as one of the modules that are able to convert time zone names into time zone objects. UnixTimezones supports time zone specifications that conform to tzfile(5) and expects these to be found in the directory /usr/share/lib/zoneinfo.

Create allows to create time zone objects from the stream s whose contents must conform to tzfile(5).

SetZoneinfoDir allows to switch to another directory that hosts the time zone files.

FILES

/usr/share/lib/zoneinfo
default directory with time zone files

SEE ALSO

Timezones
general interface for time zones
tzfile(5)
file format for time zone specifications

Edited by: borchert, last change: 2004/06/02, revision: 1.1, converted to HTML: 2004/06/02

Oberon || Library || Module Index || Search Engine || Definition || Module