Scarab  v2.1.0
Project 8 C++ Utility Library
Public Member Functions | Static Private Member Functions | Private Attributes | List of all members
weekday Class Reference

#include <date.h>

Public Member Functions

 weekday ()=default
 
constexpr weekday (unsigned wd) noexcept
 
constexpr weekday (const sys_days &dp) noexcept
 
constexpr weekday (const local_days &dp) noexcept
 
weekdayoperator++ () noexcept
 
weekday operator++ (int) noexcept
 
weekdayoperator-- () noexcept
 
weekday operator-- (int) noexcept
 
weekdayoperator+= (const days &d) noexcept
 
weekdayoperator-= (const days &d) noexcept
 
constexpr operator unsigned () const noexcept
 
constexpr bool ok () const noexcept
 
constexpr weekday_indexed operator[] (unsigned index) const noexcept
 
constexpr weekday_last operator[] (last_spec) const noexcept
 

Static Private Member Functions

static constexpr unsigned char weekday_from_days (int z) noexcept
 

Private Attributes

unsigned char wd_
 

Detailed Description

Definition at line 411 of file date.h.

Constructor & Destructor Documentation

weekday ( )
default
constexpr weekday ( unsigned  wd)
inlineexplicitnoexcept

Definition at line 1679 of file date.h.

constexpr weekday ( const sys_days dp)
inlinenoexcept

Definition at line 1685 of file date.h.

constexpr weekday ( const local_days dp)
inlineexplicitnoexcept

Definition at line 1691 of file date.h.

Member Function Documentation

constexpr bool ok ( ) const
inlinenoexcept

Definition at line 1725 of file date.h.

constexpr operator unsigned ( ) const
inlineexplicitnoexcept

Definition at line 1720 of file date.h.

weekday & operator++ ( )
inlinenoexcept

Definition at line 1695 of file date.h.

weekday operator++ ( int  )
inlinenoexcept

Definition at line 1696 of file date.h.

weekday & operator+= ( const days d)
inlinenoexcept

Definition at line 1703 of file date.h.

weekday & operator-- ( )
inlinenoexcept

Definition at line 1697 of file date.h.

weekday operator-- ( int  )
inlinenoexcept

Definition at line 1698 of file date.h.

weekday & operator-= ( const days d)
inlinenoexcept

Definition at line 1712 of file date.h.

constexpr weekday_indexed operator[] ( unsigned  index) const
inlinenoexcept

Definition at line 1908 of file date.h.

constexpr weekday_last operator[] ( last_spec  ) const
inlinenoexcept

Definition at line 1962 of file date.h.

constexpr unsigned char weekday_from_days ( int  z)
inlinestaticprivatenoexcept

Definition at line 1671 of file date.h.

Member Data Documentation

unsigned char wd_
private

Definition at line 413 of file date.h.


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