C++ Instrument Catalog
Public Member Functions | List of all members
date::year_month_day Class Reference

#include <date.h>

Public Member Functions

 year_month_day ()=default
 
CONSTCD11 year_month_day (const date::year &y, const date::month &m, const date::day &d) NOEXCEPT
 
CONSTCD14 year_month_day (const year_month_day_last &ymdl) NOEXCEPT
 
CONSTCD14 year_month_day (sys_days dp) NOEXCEPT
 
CONSTCD14 year_month_day (local_days dp) NOEXCEPT
 
template<class = detail::unspecified_month_disambiguator>
CONSTCD14 year_month_dayoperator+= (const months &m) NOEXCEPT
 
template<class = detail::unspecified_month_disambiguator>
CONSTCD14 year_month_dayoperator-= (const months &m) NOEXCEPT
 
CONSTCD14 year_month_dayoperator+= (const years &y) NOEXCEPT
 
CONSTCD14 year_month_dayoperator-= (const years &y) NOEXCEPT
 
CONSTCD11 date::year year () const NOEXCEPT
 
CONSTCD11 date::month month () const NOEXCEPT
 
CONSTCD11 date::day day () const NOEXCEPT
 
CONSTCD14 operator sys_days () const NOEXCEPT
 
CONSTCD14 operator local_days () const NOEXCEPT
 
CONSTCD14 bool ok () const NOEXCEPT
 

Detailed Description

Definition at line 697 of file date.h.

Constructor & Destructor Documentation

◆ year_month_day() [1/5]

date::year_month_day::year_month_day ( )
default

◆ year_month_day() [2/5]

CONSTCD11 date::year_month_day::year_month_day ( const date::year y,
const date::month m,
const date::day d 
)
inline

Definition at line 2681 of file date.h.

◆ year_month_day() [3/5]

CONSTCD14 date::year_month_day::year_month_day ( const year_month_day_last ymdl)
inline

Definition at line 2690 of file date.h.

◆ year_month_day() [4/5]

CONSTCD14 date::year_month_day::year_month_day ( sys_days  dp)
inline

Definition at line 2698 of file date.h.

◆ year_month_day() [5/5]

CONSTCD14 date::year_month_day::year_month_day ( local_days  dp)
inlineexplicit

Definition at line 2704 of file date.h.

Member Function Documentation

◆ day()

CONSTCD11 day date::year_month_day::day ( ) const
inline

Definition at line 2710 of file date.h.

◆ month()

CONSTCD11 month date::year_month_day::month ( ) const
inline

Definition at line 2709 of file date.h.

◆ ok()

CONSTCD14 bool date::year_month_day::ok ( ) const
inline

Definition at line 2786 of file date.h.

◆ operator local_days()

CONSTCD14 date::year_month_day::operator local_days ( ) const
inlineexplicit

Definition at line 2778 of file date.h.

◆ operator sys_days()

CONSTCD14 date::year_month_day::operator sys_days ( ) const
inline

Definition at line 2771 of file date.h.

◆ operator+=() [1/2]

template<class >
CONSTCD14 year_month_day & date::year_month_day::operator+= ( const months m)
inline

Definition at line 2716 of file date.h.

◆ operator+=() [2/2]

CONSTCD14 year_month_day & date::year_month_day::operator+= ( const years y)
inline

Definition at line 2735 of file date.h.

◆ operator-=() [1/2]

template<class >
CONSTCD14 year_month_day & date::year_month_day::operator-= ( const months m)
inline

Definition at line 2726 of file date.h.

◆ operator-=() [2/2]

CONSTCD14 year_month_day & date::year_month_day::operator-= ( const years y)
inline

Definition at line 2744 of file date.h.

◆ year()

CONSTCD11 year date::year_month_day::year ( ) const
inline

Definition at line 2708 of file date.h.


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