| Sese Framework
    3.0.0
    A cross-platform framework | 
Date parser. More...
#include <DateTimeParser.h>
| Static Public Member Functions | |
| static std::optional< DateTime > | parse (const std::string &format, const std::string &datetime) | 
| Static Private Member Functions | |
| static int | count (const char *string, int max) | 
Date parser.
| 
 | staticprivate | 
| 
 | static | 
Attempt to restore the string to a data structure
| format | Time match format * yyyy Full year * MM Full month * dd Full day of the month * HH 24-hour format hour * mm Full minute * ss Full second * fff Full millisecond * rrr Full microsecond * % Escape character * '*' Word * z UTC offset * | 
| datetime | Time string | 
References c, sese::DateTime::FORMAT, timegm, and XX.
Referenced by sese::db::impl::MariaResultSetImpl::getDateTime(), sese::db::impl::PostgresResultSetImpl::getDateTime(), sese::db::impl::SqliteResultSetImpl::getDateTime(), and sese::db::impl::SqliteStmtResultSetImpl::getDateTime().