![]() |
Home | Libraries | People | FAQ | More |
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.