...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Constructs a date from a local time point.
explicit constexpr date( std::chrono::local_days tp);
Equivalent to constructing a date
from a time_point
with
the same time_since_epoch()
as tp
.
Requires C++20 calendar types.
Strong guarantee. Throws on invalid input.