Tools.h++ Manual

21-96 104011 Tandem Computers Incorporated
21
static RWCString nameOfMonth(unsigned monNum,
const RWLocale& =
RWLocale::global());
Returns the name of month
monNum
(January = 1, ...,
December
= 12),
formatted for the given locale.
static RWBoolean leapYear(unsigned year);
Returns
TRUE
if a given year is a leap year.
static RWCString weekDayName(unsigned dayNum,
const RWLocale& =
RWLocale::global());
Returns the name of the day of the week
dayNum
(Monday = 1, ..., Sunday = 7),
formatted for the given locale
Related global operators
RWBoolean operator<(const RWDate& d1,
const RWDate& d2);
Returns
TRUE
if the date
d1
is before
d2
.
RWBoolean operator<=(const RWDate& d1,
const RWDate& d2);
Returns
TRUE
if the date
d1
is before or the same as
d2
.
RWBoolean operator>(const RWDate& d1,
const RWDate& d2);
Returns
TRUE
if the date
d1
is after
d2
.
RWBoolean operator>=(const RWDate& d1,
const RWDate& d2);
Returns
TRUE
if the date
d1
is after or the same as
d2
.
RWBoolean operator==(const RWDate& d1,
const RWDate& d2);
Returns
TRUE
if the date
d1
is the same as
t2
.
RWBoolean operator!=(const RWDate& d1,
const RWDate& d2);
Returns
TRUE
if the date
d1
is not the same as
d2
.