| Defined in header <chrono> | ||
|---|---|---|
| class day; | (since C++20) | 
The class day represents a day in a month. Its normal range is [1, 31], but it may hold any number in [0, 255].
day is a TriviallyCopyable StandardLayoutType.
| constructs a day(public member function) | |
| increments or decrements the day (public member function) | |
| adds or subtracts a number of days (public member function) | |
| retrieves the stored day value (public member function) | |
| checks if the stored day value is in the normal range (public member function) | 
| (C++20) | compares two dayvalues(function) | 
| (C++20) | adds or subtracts a number of days and a day, or find the difference between twodays(function) | 
| (C++20) | outputs a dayinto a stream(function template) | 
| (C++20) | parses a dayfrom a stream according to the provided format(function template) | 
| (C++20) | formatting support for day(class template specialization) | 
| Defined in inline namespace std::literals::chrono_literals | |
|---|---|
| (C++20) | a std::chrono::dayliteral representing a day of a month(function) | 
    © cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
    https://en.cppreference.com/w/cpp/chrono/day