Definition at line 319 of file Time.h.
◆ Date() [1/3]
Initializes as Jan 1, 0001.
◆ Date() [2/3]
Date |
( |
unsigned int | year, |
|
|
Month | month, |
|
|
unsigned int | day ) |
Explicit initialization.
- Exceptions
-
exception | if input parameters do not form valid date. |
◆ Date() [3/3]
Initializes as copy of other date.
◆ day()
unsigned int day |
( |
| ) |
const |
|
inline |
Day component of date. Valid range of values is [01, 31].
Definition at line 376 of file Time.h.
◆ deserialize()
Date deserialize |
( |
unsigned long long | | ) |
|
|
static |
De-serializes date from its numeric presentation as it's used by ICE.
◆ operator!=()
bool operator!= |
( |
const Date & | other | ) |
const |
Compares with other for inequality.
◆ operator+=()
Adds time interval to the date.
◆ operator-=()
Subtracts time interval from the date.
◆ operator<()
bool operator< |
( |
const Date & | other | ) |
const |
Checks whether given date is less than other one.
◆ operator=()
Re-initializes instance as copy of other one.
◆ operator==()
bool operator== |
( |
const Date & | other | ) |
const |
Compares with other for equality.
◆ operator>()
bool operator> |
( |
const Date & | other | ) |
const |
Checks whether given date is greater than other one.
◆ toString() [1/2]
std::string toString |
( |
| ) |
const |
|
inline |
Serializes date into YYYYMMDD presentation.
Definition at line 381 of file Time.h.
◆ toString() [2/2]
void toString |
( |
std::string & | | ) |
const |
Serializes date into YYYYMMDD presentation.