![]() |
Home | Libraries | People | FAQ | More |
Returns true
if *this
represents a valid time_point.
constexpr bool valid() const noexcept;
If any of the individual components is out of range, the datetime doesn't
represent an actual time_point
(e.g. datetime(2020, 2, 30))
or the datetime is not in the [min_date, max_date] validity range, returns
false. Otherwise, returns
true.
No-throw guarantee.