OmniSciDB
a5dc49c757
|
#include <DateTimeParser.h>
Public Member Functions | |
int64_t | getTime (unsigned const dim) const |
Public Attributes | |
int64_t | Y {1970} |
unsigned | m {1} |
unsigned | d {1} |
unsigned | H {0} |
unsigned | M {0} |
unsigned | S {0} |
unsigned | n {0} |
int | z {0} |
std::optional< bool > | p |
Friends | |
std::ostream & | operator<< (std::ostream &, DateTime const &) |
Definition at line 62 of file DateTimeParser.h.
int64_t DateTimeParser::DateTime::getTime | ( | unsigned const | dim | ) | const |
Definition at line 207 of file DateTimeParser.cpp.
References d, anonymous_namespace{DateTimeParser.cpp}::daysFromCivil(), H, m, M, n, p, anonymous_namespace{DateTimeParser.cpp}::pow_10, S, Y, and z.
Referenced by DateTimeParser::parse().
|
friend |
Definition at line 398 of file DateTimeParser.cpp.
unsigned DateTimeParser::DateTime::d {1} |
Definition at line 65 of file DateTimeParser.h.
Referenced by getTime(), operator<<(), and DateTimeParser::updateDateTimeAndStr().
unsigned DateTimeParser::DateTime::H {0} |
Definition at line 66 of file DateTimeParser.h.
Referenced by getTime(), operator<<(), and DateTimeParser::updateDateTimeAndStr().
unsigned DateTimeParser::DateTime::m {1} |
Definition at line 64 of file DateTimeParser.h.
Referenced by getTime(), operator<<(), and DateTimeParser::updateDateTimeAndStr().
unsigned DateTimeParser::DateTime::M {0} |
Definition at line 67 of file DateTimeParser.h.
Referenced by getTime(), operator<<(), and DateTimeParser::updateDateTimeAndStr().
unsigned DateTimeParser::DateTime::n {0} |
Definition at line 69 of file DateTimeParser.h.
Referenced by getTime(), operator<<(), and DateTimeParser::updateDateTimeAndStr().
std::optional<bool> DateTimeParser::DateTime::p |
Definition at line 71 of file DateTimeParser.h.
Referenced by getTime(), operator<<(), and DateTimeParser::updateDateTimeAndStr().
unsigned DateTimeParser::DateTime::S {0} |
Definition at line 68 of file DateTimeParser.h.
Referenced by getTime(), operator<<(), and DateTimeParser::updateDateTimeAndStr().
int64_t DateTimeParser::DateTime::Y {1970} |
Definition at line 63 of file DateTimeParser.h.
Referenced by getTime(), operator<<(), and DateTimeParser::updateDateTimeAndStr().
int DateTimeParser::DateTime::z {0} |
Definition at line 70 of file DateTimeParser.h.
Referenced by getTime(), operator<<(), and DateTimeParser::updateDateTimeAndStr().