OmniSciDB
a5dc49c757
|
Functions | |
int64_t | daysFromCivil (int64_t y, unsigned const m, unsigned const d) |
std::vector< std::vector < std::string_view > > | formatViews () |
void | eatMonth (unsigned const month, std::string_view &str) |
void | eatSpace (std::string_view &str) |
template<typename T > | |
std::optional< T > | fromChars (std::string_view &str, size_t maxlen=std::numeric_limits< size_t >::max()) |
std::optional< int64_t > | unixTime (std::string_view const str) |
Variables | |
constexpr std::array< int, 12 > | month_prefixes |
constexpr std::array < std::string_view, 13 > | month_suffixes |
constexpr unsigned | pow_10 [10] {1, 10, 100, 1000, 10000, 100000, 1000000, 10000000, 100000000, 1000000000} |
int64_t anonymous_namespace{DateTimeParser.cpp}::daysFromCivil | ( | int64_t | y, |
unsigned const | m, | ||
unsigned const | d | ||
) |
Definition at line 65 of file DateTimeParser.cpp.
Referenced by DateTimeParser::DateTime::getTime().
void anonymous_namespace{DateTimeParser.cpp}::eatMonth | ( | unsigned const | month, |
std::string_view & | str | ||
) |
Definition at line 88 of file DateTimeParser.cpp.
References month_suffixes, and spatial_type::suffix().
Referenced by DateTimeParser::updateDateTimeAndStr().
void anonymous_namespace{DateTimeParser.cpp}::eatSpace | ( | std::string_view & | str | ) |
Definition at line 96 of file DateTimeParser.cpp.
Referenced by DateTimeParser::parseWithFormat().
std::vector<std::vector<std::string_view> > anonymous_namespace{DateTimeParser.cpp}::formatViews | ( | ) |
Definition at line 75 of file DateTimeParser.cpp.
Referenced by DateTimeParser::parse().
std::optional<T> anonymous_namespace{DateTimeParser.cpp}::fromChars | ( | std::string_view & | str, |
size_t | maxlen = std::numeric_limits<size_t>::max() |
||
) |
Definition at line 106 of file DateTimeParser.cpp.
References run_benchmark_import::result, and heavydb.dtypes::T.
std::optional<int64_t> anonymous_namespace{DateTimeParser.cpp}::unixTime | ( | std::string_view const | str | ) |
Definition at line 119 of file DateTimeParser.cpp.
References run_benchmark_import::result.
Referenced by dateTimeParseOptional< kDATE >(), and dateTimeParseOptional< kTIMESTAMP >().
constexpr std::array<int, 12> anonymous_namespace{DateTimeParser.cpp}::month_prefixes |
Definition at line 32 of file DateTimeParser.cpp.
Referenced by DateTimeParser::updateDateTimeAndStr().
constexpr std::array<std::string_view, 13> anonymous_namespace{DateTimeParser.cpp}::month_suffixes |
Definition at line 45 of file DateTimeParser.cpp.
Referenced by eatMonth().
constexpr unsigned anonymous_namespace{DateTimeParser.cpp}::pow_10[10] {1, 10, 100, 1000, 10000, 100000, 1000000, 10000000, 100000000, 1000000000} |
Definition at line 61 of file DateTimeParser.cpp.
Referenced by DateTimeParser::DateTime::getTime(), and DateTimeParser::updateDateTimeAndStr().