Tools.h++ Class Reference

Table Of Contents
Public Member Operators
RWDate&
operator=(const RWDate&);
Assignment operator.
RWDate
operator++();
Prefix increment operator. Adds one day to self, then return the result.
RWDate
operator--();
Prefix decrement operator. Subtracts one day from self, then returns the result.
RWDate
operator++(int);
Postfix increment operator. Adds one day to self, returning the initial value.
RWDate
operator--(int);
Postfix decrement operator. Subtracts one day from self, returning the initial value.
RWDate&
operator+=(unsigned long s);
Adds s days to self, returning self.
RWDate&
operator-=(unsigned long s);
Substracts s days from self, returning self.
Public Member Functions
RWCString
asString(char format = 'x',
const RWLocale& = RWLocale::global()) const;
Returns the date as a string, formatted by the RWLocale argument. Formats are as defined
in the standard C library function strftime().
RWCString
asString(const char* format,
const RWLocale& = RWLocale::global()) const;
Returns the date as a string, formatted by the RWLocale argument. Formats are as defined
in the standard C library function strftime().
RWBoolean