NumeRe v1.1.4
NumeRe: Framework für Numerische Rechnungen
date::year Class Reference

#include <date.h>

Collaboration diagram for date::year:

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
 

Private Attributes

short y_
 

Detailed Description

Definition at line 395 of file date.h.

Constructor & Destructor Documentation

◆ year() [1/2]

date::year::year ( )
default

Referenced by date::from_stream().

◆ year() [2/2]

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

Definition at line 1681 of file date.h.

Member Function Documentation

◆ is_leap()

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

Definition at line 1694 of file date.h.

Referenced by date::year_month_day_last::day(), and Posix::detail::rule::operator()().

◆ max()

◆ min()

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

◆ ok()

◆ operator int()

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

Definition at line 1699 of file date.h.

◆ operator+()

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

Definition at line 1689 of file date.h.

◆ operator++() [1/2]

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

Definition at line 1682 of file date.h.

◆ operator++() [2/2]

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

Definition at line 1683 of file date.h.

◆ operator+=()

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

Definition at line 1686 of file date.h.

◆ operator-()

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

Definition at line 1688 of file date.h.

◆ operator--() [1/2]

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

Definition at line 1684 of file date.h.

◆ operator--() [2/2]

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

Definition at line 1685 of file date.h.

◆ operator-=()

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

Definition at line 1687 of file date.h.

Member Data Documentation

◆ y_

short date::year::y_
private

Definition at line 397 of file date.h.


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