std::chrono::year - cppreference.com
From cppreference.com
|
|
(since C++20) | |
The class year represents a year in the proleptic Gregorian calendar. Its range is [-32767, 32767].
year is a TriviallyCopyable StandardLayoutType.
Member functions
constructs a year (public member function) [edit] | |
| increments or decrements the year (public member function) [edit] | |
adds or subtracts a number of years from a year (public member function) [edit] | |
applies unary operators to year (public member function) [edit] | |
| determines if the year is a leap year (public member function) [edit] | |
| retrieve the year value (public member function) [edit] | |
| checks if the stored year value is valid (public member function) [edit] | |
[static] |
returns the smallest possible year value (public static member function) [edit] |
[static] |
returns the largest possible year (public static member function) [edit] |
Non-member functions
Helper classes
Literals
Defined in inline namespace | |
| a std::chrono::year literal representing a particular year (function) [edit] | |