#include <Time.h>
Definition at line 319 of file Time.h.
◆ Date() [1/3]
Initializes the date to Jan 1, 0001, serving as the default value.
◆ 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 a copy of the other date.
◆ day()
| unsigned int day |
( |
| ) |
const |
|
inline |
Returns the day component of the date. The 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 |
Returns true if the current date is not equal to the specified date.
◆ operator+=()
Increases the date by the specified time interval and returns the new date.
◆ operator-=()
Decreases the date by the specified time interval and returns the new date.
◆ operator<()
| bool operator< |
( |
const Date & | other | ) |
const |
Returns true if the provided date occurs before the other date.
◆ operator=()
Re-initializes this instance, copying the state from another instance.
◆ operator==()
| bool operator== |
( |
const Date & | other | ) |
const |
Compares this object with another for equality.
◆ operator>()
| bool operator> |
( |
const Date & | other | ) |
const |
Checks if the given date occurs after the other specified date.
◆ 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.