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

#include <julian.h>

Collaboration diagram for julian::year:

Public Member Functions

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 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 241 of file julian.h.

Constructor & Destructor Documentation

◆ year()

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

Definition at line 1054 of file julian.h.

Member Function Documentation

◆ is_leap()

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

Definition at line 1065 of file julian.h.

Referenced by julian::year_month_day_last::day().

◆ max()

CONSTCD11 year julian::year::max ( )
inlinestatic

Definition at line 1084 of file julian.h.

References max.

◆ min()

CONSTCD11 year julian::year::min ( )
inlinestatic

Definition at line 1076 of file julian.h.

References min.

◆ ok()

◆ operator int()

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

Definition at line 1070 of file julian.h.

◆ operator++() [1/2]

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

Definition at line 1055 of file julian.h.

◆ operator++() [2/2]

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

Definition at line 1056 of file julian.h.

◆ operator+=()

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

Definition at line 1059 of file julian.h.

◆ operator--() [1/2]

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

Definition at line 1057 of file julian.h.

◆ operator--() [2/2]

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

Definition at line 1058 of file julian.h.

◆ operator-=()

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

Definition at line 1060 of file julian.h.

Member Data Documentation

◆ y_

short julian::year::y_
private

Definition at line 243 of file julian.h.


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