NumeRe v1.1.4
NumeRe: Framework für Numerische Rechnungen
solar_hijri::year_month Class Reference

#include <solar_hijri.h>

Collaboration diagram for solar_hijri::year_month:

Public Member Functions

 year_month ()=default
 
CONSTCD11 year_month (const solar_hijri::year &y, const solar_hijri::month &m) NOEXCEPT
 
CONSTCD11 solar_hijri::year year () const NOEXCEPT
 
CONSTCD11 solar_hijri::month month () const NOEXCEPT
 
CONSTCD14 year_monthoperator+= (const months &dm) NOEXCEPT
 
CONSTCD14 year_monthoperator-= (const months &dm) NOEXCEPT
 
CONSTCD14 year_monthoperator+= (const years &dy) NOEXCEPT
 
CONSTCD14 year_monthoperator-= (const years &dy) NOEXCEPT
 
CONSTCD11 bool ok () const NOEXCEPT
 

Private Attributes

solar_hijri::year y_
 
solar_hijri::month m_
 

Detailed Description

Definition at line 391 of file solar_hijri.h.

Constructor & Destructor Documentation

◆ year_month() [1/2]

solar_hijri::year_month::year_month ( )
default

◆ year_month() [2/2]

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

Definition at line 1530 of file solar_hijri.h.

Member Function Documentation

◆ month()

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

Definition at line 1536 of file solar_hijri.h.

◆ ok()

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

Definition at line 1537 of file solar_hijri.h.

References solar_hijri::month::ok(), and solar_hijri::year::ok().

Here is the call graph for this function:

◆ operator+=() [1/2]

CONSTCD14 year_month & solar_hijri::year_month::operator+= ( const months dm)
inline

Definition at line 1542 of file solar_hijri.h.

◆ operator+=() [2/2]

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

Definition at line 1560 of file solar_hijri.h.

◆ operator-=() [1/2]

CONSTCD14 year_month & solar_hijri::year_month::operator-= ( const months dm)
inline

Definition at line 1551 of file solar_hijri.h.

◆ operator-=() [2/2]

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

Definition at line 1569 of file solar_hijri.h.

◆ year()

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

Definition at line 1535 of file solar_hijri.h.

Member Data Documentation

◆ m_

solar_hijri::month solar_hijri::year_month::m_
private

Definition at line 394 of file solar_hijri.h.

◆ y_

solar_hijri::year solar_hijri::year_month::y_
private

Definition at line 393 of file solar_hijri.h.


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