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