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

#include <date.h>

Public Member Functions

 year ()=default
 
CONSTCD11 year (int y) NOEXCEPT
 
CONSTCD14 yearoperator++ () NOEXCEPT
 
CONSTCD14 year operator++ (int) NOEXCEPT
 
CONSTCD14 yearoperator-- () NOEXCEPT
 
CONSTCD14 year operator-- (int) NOEXCEPT
 
CONSTCD14 yearoperator+= (const years &y) NOEXCEPT
 
CONSTCD14 yearoperator-= (const years &y) NOEXCEPT
 
CONSTCD11 year operator- () const NOEXCEPT
 
CONSTCD11 year operator+ () const NOEXCEPT
 
CONSTCD11 bool is_leap () const NOEXCEPT
 
CONSTCD11 operator int () const NOEXCEPT
 
CONSTCD11 bool ok () const NOEXCEPT
 

Static Public Member Functions

static CONSTCD11 year min () NOEXCEPT
 
static CONSTCD11 year max () NOEXCEPT
 

Detailed Description

Definition at line 402 of file date.h.

Constructor & Destructor Documentation

◆ year() [1/2]

date::year::year ( )
default

◆ year() [2/2]

CONSTCD11 date::year::year ( int  y)
inlineexplicit

Definition at line 1610 of file date.h.

Member Function Documentation

◆ is_leap()

CONSTCD11 bool date::year::is_leap ( ) const
inline

Definition at line 1623 of file date.h.

◆ max()

static CONSTCD11 year date::year::max ( )
inlinestatic

Definition at line 427 of file date.h.

◆ min()

static CONSTCD11 year date::year::min ( )
inlinestatic

Definition at line 426 of file date.h.

◆ ok()

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

Definition at line 1633 of file date.h.

◆ operator int()

CONSTCD11 date::year::operator int ( ) const
inlineexplicit

Definition at line 1628 of file date.h.

◆ operator+()

CONSTCD11 year date::year::operator+ ( ) const
inline

Definition at line 1618 of file date.h.

◆ operator++() [1/2]

CONSTCD14 year & date::year::operator++ ( )
inline

Definition at line 1611 of file date.h.

◆ operator++() [2/2]

CONSTCD14 year date::year::operator++ ( int  )
inline

Definition at line 1612 of file date.h.

◆ operator+=()

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

Definition at line 1615 of file date.h.

◆ operator-()

CONSTCD11 year date::year::operator- ( ) const
inline

Definition at line 1617 of file date.h.

◆ operator--() [1/2]

CONSTCD14 year & date::year::operator-- ( )
inline

Definition at line 1613 of file date.h.

◆ operator--() [2/2]

CONSTCD14 year date::year::operator-- ( int  )
inline

Definition at line 1614 of file date.h.

◆ operator-=()

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

Definition at line 1616 of file date.h.


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