Tools.h++ Class Reference

Table Of Contents
Returns a reference to an RWZone representing standard local time, with no
daylight-saving time corrections. By default this is an instance of RWZoneSimple with
offset and zone name from the operating system.
static const RWZone&
utc();
Returns a reference to an RWZone representing UTC (GMT) universal time.
static const RWZone*
local(const RWZone*);
static const RWZone*
standard(const RWZone*);
These functions allow the values returned by the other functions above to be set. Each
returns the previous value.
static constRWDaylightRule*
dstRule(DstRule rule = NoAm);
Returns one of the built-in daylight-saving time rules according to rule. Function
dstRule() is provided for convenience in constructing RWZoneSimple instances for time
zones in which common daylight-saving time rules are obeyed. Currently two such rule
systems are provided, NoAm for the U.S.A. and Canada, and WeEu for most of Western
Europe (excluding the U.K.). See RWZoneSimple for more details. If DstRule NoDST is
given, then 0 is returned. The result of calling dstRule() is normally passed to the
RWZoneSimple constructor.