Open 3D Engine AzCore API Reference 23.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
AZStd::chrono::weekday Class Reference

#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 weekdayoperator++ () noexcept
 
constexpr weekday operator++ (int) noexcept
 
constexpr weekdayoperator-- () noexcept
 
constexpr weekday operator-- (int) noexcept
 
constexpr weekdayoperator+= (const days &d) noexcept
 
constexpr weekdayoperator-= (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
 

Detailed Description

represents a day of the week weekdays aren't ordered since there is not a consensus on which day a week starts

Member Function Documentation

◆ operator[]() [1/2]

constexpr weekday_last AZStd::chrono::weekday::operator[] ( last_spec  ) const
constexprnoexcept

Needs to be implemented after weekday_last is complete.

implementing the weekday::operator[] after the weekday_last definition

◆ operator[]() [2/2]

constexpr weekday_indexed AZStd::chrono::weekday::operator[] ( unsigned  index) const
constexprnoexcept

Needs to be implemented after weekday_indexed is complete.

implementing weekday operator[] after the weekday_indexed definition


The documentation for this class was generated from the following file: