C++Instrument Catalog MFC 1.2
Metrolab C++InstrumentCatalog for MFC
Loading...
Searching...
No Matches
date::year_month Class Reference

#include <date.h>

Public Member Functions

 year_month ()=default
CONSTCD11 year_month (const date::year &y, const date::month &m) NOEXCEPT
CONSTCD11 date::year year () const NOEXCEPT
CONSTCD11 date::month month () const NOEXCEPT
template<class = detail::unspecified_month_disambiguator>
CONSTCD14 year_month & operator+= (const months &dm) NOEXCEPT
template<class = detail::unspecified_month_disambiguator>
CONSTCD14 year_month & operator-= (const months &dm) NOEXCEPT
CONSTCD14 year_month & operator+= (const years &dy) NOEXCEPT
CONSTCD14 year_month & operator-= (const years &dy) NOEXCEPT
CONSTCD11 bool ok () const NOEXCEPT

Detailed Description

Definition at line 549 of file date.h.

Constructor & Destructor Documentation

◆ year_month() [1/2]

date::year_month::year_month ( )
default

◆ year_month() [2/2]

CONSTCD11 date::year_month::year_month ( const date::year & y,
const date::month & m )
inline

Definition at line 2052 of file date.h.

Member Function Documentation

◆ month()

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

Definition at line 2058 of file date.h.

◆ ok()

CONSTCD11 bool date::year_month::ok ( ) const
inline

Definition at line 2059 of file date.h.

◆ operator+=() [1/2]

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

Definition at line 2065 of file date.h.

◆ operator+=() [2/2]

CONSTCD14 year_month & date::year_month::operator+= ( const years & dy)
inline

Definition at line 2084 of file date.h.

◆ operator-=() [1/2]

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

Definition at line 2075 of file date.h.

◆ operator-=() [2/2]

CONSTCD14 year_month & date::year_month::operator-= ( const years & dy)
inline

Definition at line 2093 of file date.h.

◆ year()

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

Definition at line 2057 of file date.h.


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