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

#include <date.h>

Public Member Functions

constexpr year_month_weekday_last (const date::year &y, const date::month &m, const date::weekday_last &wdl) noexcept
 
year_month_weekday_lastoperator+= (const months &m) noexcept
 
year_month_weekday_lastoperator-= (const months &m) noexcept
 
year_month_weekday_lastoperator+= (const years &y) noexcept
 
year_month_weekday_lastoperator-= (const years &y) noexcept
 
constexpr date::year year () const noexcept
 
constexpr date::month month () const noexcept
 
constexpr date::weekday weekday () const noexcept
 
constexpr date::weekday_last weekday_last () const noexcept
 
 operator sys_days () const noexcept
 
 operator local_days () const noexcept
 
constexpr bool ok () const noexcept
 

Private Member Functions

days to_days () const noexcept
 

Private Attributes

date::year y_
 
date::month m_
 
date::weekday_last wdl_
 

Detailed Description

Definition at line 826 of file date.h.

Constructor & Destructor Documentation

◆ year_month_weekday_last()

constexpr year_month_weekday_last ( const date::year y,
const date::month m,
const date::weekday_last wdl 
)
inlinenoexcept

Definition at line 3049 of file date.h.

Member Function Documentation

◆ month()

constexpr month month ( ) const
inlinenoexcept

Definition at line 3094 of file date.h.

◆ ok()

constexpr bool ok ( ) const
inlinenoexcept

Definition at line 3129 of file date.h.

◆ operator local_days()

operator local_days ( ) const
inlineexplicitnoexcept

Definition at line 3121 of file date.h.

◆ operator sys_days()

operator sys_days ( ) const
inlinenoexcept

Definition at line 3114 of file date.h.

◆ operator+=() [1/2]

year_month_weekday_last & operator+= ( const months m)
inlinenoexcept

Definition at line 3060 of file date.h.

◆ operator+=() [2/2]

year_month_weekday_last & operator+= ( const years y)
inlinenoexcept

Definition at line 3078 of file date.h.

◆ operator-=() [1/2]

year_month_weekday_last & operator-= ( const months m)
inlinenoexcept

Definition at line 3069 of file date.h.

◆ operator-=() [2/2]

year_month_weekday_last & operator-= ( const years y)
inlinenoexcept

Definition at line 3087 of file date.h.

◆ to_days()

days to_days ( ) const
inlineprivatenoexcept

Definition at line 3137 of file date.h.

◆ weekday()

constexpr weekday weekday ( ) const
inlinenoexcept

Definition at line 3099 of file date.h.

◆ weekday_last()

constexpr weekday_last weekday_last ( ) const
inlinenoexcept

Definition at line 3107 of file date.h.

◆ year()

constexpr year year ( ) const
inlinenoexcept

Definition at line 3093 of file date.h.

Member Data Documentation

◆ m_

date::month m_
private

Definition at line 829 of file date.h.

◆ wdl_

date::weekday_last wdl_
private

Definition at line 830 of file date.h.

◆ y_

date::year y_
private

Definition at line 828 of file date.h.


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