...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
constexpr
datetime() noexcept;
» more...
Constructs a datetime from its individual components.
constexpr
datetime(
std::uint16_t year,
std::uint8_t month,
std::uint8_t day,
std::uint8_t hour = 0,
std::uint8_t minute = 0,
std::uint8_t second = 0,
std::uint32_t microsecond = 0) noexcept;
» more...
Constructs a datetime from a time_point
.
explicit constexpr datetime(datetime::time_point
tp); »more...
Constructs a datetime from a local_time_point
.
explicit constexpr datetime(datetime::local_time_point
tp); »more...