|
| DateTime () |
| Default constructor creates invalid ptime.
|
|
bool | setComponents (TimeZone timeZone, int year, int month=1, int day=1, int hour=0, int minute=0, int second=0, int millisecond=0) |
| Explicitly sets each component WITH time zone conversion.
|
|
bool | setComponents (int year, int month=1, int day=1, int hour=0, int minute=0, int second=0, int millisecond=0) |
| Explicitly sets each component WITHOUT time zone conversion.
|
|
bool | components (TimeZone timeZone, int &year, int &month, int &day, int &hour, int &minute, int &second, int &millisecond) const |
|
bool | components (int &year, int &month, int &day, int &hour, int &minute, int &second, int &millisecond) const |
|
bool | isSet () const |
| Indicates if instance represents valid datetime value.
|
|
bool | deserialize (const std::string &ts) |
| Parses datetime string in canonical format: YYYYMMDDThhmmss[.uuuuuu].
|
|
std::string | serialize () const |
| Returns string im canonical format.
|
|
bool | parseBoostFormat (const std::string &ts) |
| Parses using boost time_from_string(), which is NOT ISO COMPLIANT. More...
|
|
bool | operator== (const DateTime &dt) const |
|
bool | operator< (const DateTime &dt) const |
|
bool | operator> (const DateTime &dt) const |
|