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

#include <date.h>

Public Member Functions

constexpr year_month_day_last (const date::year &y, const date::month_day_last &mdl) noexcept
 
year_month_day_lastoperator+= (const months &m) noexcept
 
year_month_day_lastoperator-= (const months &m) noexcept
 
year_month_day_lastoperator+= (const years &y) noexcept
 
year_month_day_lastoperator-= (const years &y) noexcept
 
constexpr date::year year () const noexcept
 
constexpr date::month month () const noexcept
 
constexpr date::month_day_last month_day_last () const noexcept
 
date::day day () const noexcept
 
 operator sys_days () const noexcept
 
 operator local_days () const noexcept
 
constexpr bool ok () const noexcept
 

Private Attributes

date::year y_
 
date::month_day_last mdl_
 

Detailed Description

Definition at line 691 of file date.h.

Constructor & Destructor Documentation

◆ year_month_day_last()

constexpr year_month_day_last ( const date::year y,
const date::month_day_last mdl 
)
inlinenoexcept

Definition at line 2389 of file date.h.

Member Function Documentation

◆ day()

day day ( ) const
inlinenoexcept

Definition at line 2445 of file date.h.

◆ month()

constexpr month month ( ) const
inlinenoexcept

Definition at line 2432 of file date.h.

◆ month_day_last()

constexpr month_day_last month_day_last ( ) const
inlinenoexcept

Definition at line 2437 of file date.h.

◆ ok()

constexpr bool ok ( ) const
inlinenoexcept

Definition at line 2475 of file date.h.

◆ operator local_days()

operator local_days ( ) const
inlineexplicitnoexcept

Definition at line 2467 of file date.h.

◆ operator sys_days()

operator sys_days ( ) const
inlinenoexcept

Definition at line 2460 of file date.h.

◆ operator+=() [1/2]

year_month_day_last & operator+= ( const months m)
inlinenoexcept

Definition at line 2398 of file date.h.

◆ operator+=() [2/2]

year_month_day_last & operator+= ( const years y)
inlinenoexcept

Definition at line 2416 of file date.h.

◆ operator-=() [1/2]

year_month_day_last & operator-= ( const months m)
inlinenoexcept

Definition at line 2407 of file date.h.

◆ operator-=() [2/2]

year_month_day_last & operator-= ( const years y)
inlinenoexcept

Definition at line 2425 of file date.h.

◆ year()

constexpr year year ( ) const
inlinenoexcept

Definition at line 2431 of file date.h.

Member Data Documentation

◆ mdl_

date::month_day_last mdl_
private

Definition at line 694 of file date.h.

◆ y_

date::year y_
private

Definition at line 693 of file date.h.


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