FreeBSD Manual Pages
std::chrono::weekday(3) C++ Standard Libary std::chrono::weekday(3) NAME std::chrono::weekday - std::chrono::weekday Synopsis Defined in header <chrono> class weekday; (since C++20) inline constexpr std::chrono::weekday Sunday{0}; (since C++20) inline constexpr std::chrono::weekday Monday{1}; (since C++20) inline constexpr std::chrono::weekday Tuesday{2}; (since C++20) inline constexpr std::chrono::weekday Wednesday{3}; (since C++20) inline constexpr std::chrono::weekday Thursday{4}; (since C++20) inline constexpr std::chrono::weekday Friday{5}; (since C++20) inline constexpr std::chrono::weekday Saturday{6}; (since C++20) The class weekday represent a day of the week in the Gregorian cal- endar. Its normal range is [0, 6], for Sunday through Saturday, but it can hold any value in the range [0, 255]. Seven named constants are predefined in the std::chrono namespace for the seven days of the week. weekday is a TriviallyCopyable StandardLayoutType. Member functions constructor constructs a weekday (public member function) operator++ operator++(int) increments or decrements the weekday operator-- (public member function) operator--(int) operator+= adds or subtracts a number of days operator-= (public member function) c_encoding retrieves the stored weekday value iso_encoding retrieves ISO 8601 weekday value (public member function) ok checks if the stored weekday value is valid (public member function) convenience syntax for constructing a weekday_in- dexed or operator[] weekday_last from this weekday (public member function) Nonmember functions operator== compares two weekday values (C++20) (function) operator+ performs arithmetic on weekdays operator- (function) (C++20) operator<< outputs a weekday into a stream (C++20) (function template) from_stream parses a weekday from a stream according to the provided format (C++20) (function template) Helper classes std::formatter<std::chrono::weekday> specialization of std::format- ter that formats a (C++20) weekday according to the pro- vided format (class template specialization) http://cppreference.com 2022.07.31 std::chrono::weekday(3)
NAME | Synopsis | Member functions | Helper classes
Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=std::chrono::weekday&sektion=3&manpath=FreeBSD+Ports+15.0>
