#include <chrono.h>
Public Member Functions | |
| constexpr | weekday (unsigned wd) noexcept |
| constexpr | weekday (const sys_days &dp) noexcept |
| constexpr | weekday (const local_days &dp) noexcept |
| constexpr weekday & | operator++ () noexcept |
| constexpr weekday | operator++ (int) noexcept |
| constexpr weekday & | operator-- () noexcept |
| constexpr weekday | operator-- (int) noexcept |
| constexpr weekday & | operator+= (const days &d) noexcept |
| constexpr weekday & | operator-= (const days &d) noexcept |
| constexpr | operator unsigned () const noexcept |
| constexpr unsigned | c_encoding () const noexcept |
| constexpr unsigned | iso_encoding () const noexcept |
| constexpr bool | ok () const noexcept |
| A weekday is valid if it represents a day of the week(0-6) | |
| constexpr weekday_indexed | operator[] (unsigned index) const noexcept |
| Needs to be implemented after weekday_indexed is complete. | |
| constexpr weekday_last | operator[] (last_spec) const noexcept |
| Needs to be implemented after weekday_last is complete. | |
Friends | |
| constexpr bool | operator== (const weekday &x, const weekday &y) noexcept |
| constexpr weekday | operator+ (const weekday &x, const days &y) noexcept |
| constexpr weekday | operator- (const weekday &x, const days &y) noexcept |
| constexpr days | operator- (const weekday &x, const weekday &y) noexcept |
represents a day of the week weekdays aren't ordered since there is not a consensus on which day a week starts
|
constexprnoexcept |
Needs to be implemented after weekday_last is complete.
implementing the weekday::operator[] after the weekday_last definition
|
constexprnoexcept |
Needs to be implemented after weekday_indexed is complete.
implementing weekday operator[] after the weekday_indexed definition