constexpr bool is_leap() const noexcept; | (since C++20) |
Determines if *this represents a leap year in the proleptic Gregorian calendar.
*this represents a leap year if the stored year value.
true if *this represents a leap year, otherwise false.
© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
http://en.cppreference.com/w/cpp/chrono/year/is_leap