|
|
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Member functions | ||||
| Nonmember functions | ||||
| Helper classes | ||||
(C++26) |
Defined in header <chrono> | ||
class day; | (since C++20) | |
The classday represents a day in a month. Its normal range is[1, 31], but it may hold any number in[0, 255].
day is aTriviallyCopyableStandardLayoutType.
Contents |
constructs aday(public member function)[edit] | |
| increments or decrements the day (public member function)[edit] | |
| adds or subtracts a number of days (public member function)[edit] | |
| retrieves the stored day value (public member function)[edit] | |
| checks if the stored day value is in the normal range (public member function)[edit] |
(C++20) | compares twoday values(function)[edit] |
(C++20) | adds or subtracts a number of days and aday, or find the difference between twodays(function)[edit] |
(C++20) | outputs aday into a stream(function template)[edit] |
(C++20) | parses aday from a stream according to the provided format(function template)[edit] |
formatting support forday(class template specialization)[edit] | |
(C++26) | hash support forstd::chrono::day (class template specialization) |
Defined in inline namespace std::literals::chrono_literals | |
(C++20) | astd::chrono::day literal representing a day of a month (function)[edit] |