Tools.h++ Class Reference

Table Of Contents
by t and returns:
0 if self == *t;
1 if self > *t;
-1 if self < *t;
void
extract(struct tm*,const RWZone& = RWZone::local()) const;
Fills all members of the struct tm argument, adjusted to the time zone specified by the
RWZone argument. If the time is invalid, the struct tm members are all set to -1. Note that
the encoding of struct tm members is different from that used in RWTime and RWDate
functions.
unsigned
hash() const;
Returns a suitable hashing value.
unsigned
hour(const RWZone& zone = RWZone::local()) const;
Returns the hour, adjusted to the time zone specified.
unsigned
hourGMT() const;
Returns the hour in UTC (GMT).
RWBoolean
isDST(const RWZone& zone = RWZone::local()) const;
Returns TRUE if self is during Daylight-Saving Time in the time zone given by zone,
FALSE otherwise.
RWBoolean
isValid() const;
Returns TRUE if this is a valid time, FALSE otherwise.
RWTime
max(const RWTime& t) const;
Returns the later time of self or t.
RWTime
min(const RWTime& t) const;
Returns the earlier time of self or t.
unsigned
minute(const RWZone& zone = RWZone::local()) const;
Returns the minute, adjusted to the time zone specified.
unsigned