|
| Date () |
| Initializes as Jan 1, 0001.
|
|
| Date (unsigned int year, Month month, unsigned int day) |
| Explicit initialization. More...
|
|
| Date (const Date &other) |
| Initializes as copy of other date.
|
|
unsigned int | day () const |
| Day component of date. More...
|
|
bool | operator== (const Date &other) const |
| Compares with other for equality.
|
|
bool | operator!= (const Date &other) const |
| Compares with other for inequality.
|
|
bool | operator< (const Date &other) const |
| Checks whether given date is less than other one.
|
|
bool | operator> (const Date &other) const |
| Checks whether given date is greater than other one.
|
|
Date & | operator+= (TimeSpan &span) |
| Adds time interval to the date.
|
|
Date & | operator-= (TimeSpan &span) |
| Subtracts time interval from the date.
|
|
Date & | operator= (const Date &other) |
| Re-initializes instance as copy of other one.
|
|
std::string | toString () const |
| Serializes date into YYYYMMDD presentation.
|
|
void | toString (std::string &) const |
| Serializes date into YYYYMMDD presentation.
|
|
| YearMonth () |
| Initializes instance as Jan, 0001.
|
|
| YearMonth (unsigned int year, Month month) |
| Initializes instance with given values. More...
|
|
| YearMonth (const YearMonth &other) |
| Initializes as copy of other instance.
|
|
unsigned int | year () const |
| Year component. More...
|
|
Month | month () const |
| Month component. More...
|
|
bool | operator== (const YearMonth &) const |
| Compares with other instance for equality.
|
|
bool | operator!= (const YearMonth &) const |
| Compares with other instance for inequality.
|
|
YearMonth & | operator= (const YearMonth &other) |
|
std::string | toString () const |
| Serializes into text (YYYYMM) presentation.
|
|
void | toString (std::string &) const |
| Serializes into text (YYYYMM) presentation.
|
|
Represents date without time component.