NumeRe v1.1.4
NumeRe: Framework für Numerische Rechnungen
iso_week::weekday Class Reference

#include <iso_week.h>

Collaboration diagram for iso_week::weekday:

Public Member Functions

CONSTCD11 weekday (unsigned wd) NOEXCEPT
 
CONSTCD11 weekday (date::weekday wd) NOEXCEPT
 
 weekday (int)=delete
 
CONSTCD11 weekday (const sys_days &dp) NOEXCEPT
 
CONSTCD11 weekday (const local_days &dp) NOEXCEPT
 
weekdayoperator++ () NOEXCEPT
 
weekday operator++ (int) NOEXCEPT
 
weekdayoperator-- () NOEXCEPT
 
weekday operator-- (int) NOEXCEPT
 
weekdayoperator+= (const days &d) NOEXCEPT
 
weekdayoperator-= (const days &d) NOEXCEPT
 
CONSTCD11 operator unsigned () const NOEXCEPT
 
CONSTCD11 operator date::weekday () const NOEXCEPT
 
CONSTCD11 bool ok () const NOEXCEPT
 

Static Private Member Functions

static CONSTCD11 unsigned char weekday_from_days (int z) NOEXCEPT
 
static CONSTCD11 unsigned char to_iso_encoding (unsigned char) NOEXCEPT
 
static CONSTCD11 unsigned from_iso_encoding (unsigned) NOEXCEPT
 

Private Attributes

unsigned char wd_
 

Detailed Description

Definition at line 94 of file iso_week.h.

Constructor & Destructor Documentation

◆ weekday() [1/5]

CONSTCD11 iso_week::weekday::weekday ( unsigned  wd)
inlineexplicit

Definition at line 447 of file iso_week.h.

Referenced by iso_week::operator/().

◆ weekday() [2/5]

CONSTCD11 iso_week::weekday::weekday ( date::weekday  wd)
inline

Definition at line 453 of file iso_week.h.

◆ weekday() [3/5]

iso_week::weekday::weekday ( int  )
explicitdelete

◆ weekday() [4/5]

CONSTCD11 iso_week::weekday::weekday ( const sys_days dp)
inline

Definition at line 459 of file iso_week.h.

◆ weekday() [5/5]

CONSTCD11 iso_week::weekday::weekday ( const local_days dp)
inlineexplicit

Definition at line 465 of file iso_week.h.

Member Function Documentation

◆ from_iso_encoding()

CONSTCD11 unsigned iso_week::weekday::from_iso_encoding ( unsigned  z)
inlinestaticprivate

Definition at line 431 of file iso_week.h.

Referenced by operator date::weekday().

◆ ok()

CONSTCD11 bool iso_week::weekday::ok ( ) const
inline

Definition at line 504 of file iso_week.h.

References wd_.

◆ operator date::weekday()

CONSTCD11 iso_week::weekday::operator date::weekday ( ) const
inline

Definition at line 499 of file iso_week.h.

References from_iso_encoding(), and wd_.

Here is the call graph for this function:

◆ operator unsigned()

CONSTCD11 iso_week::weekday::operator unsigned ( ) const
inlineexplicit

Definition at line 492 of file iso_week.h.

References wd_.

◆ operator++() [1/2]

weekday & iso_week::weekday::operator++ ( )
inline

Definition at line 469 of file iso_week.h.

References wd_.

◆ operator++() [2/2]

weekday iso_week::weekday::operator++ ( int  )
inline

Definition at line 470 of file iso_week.h.

◆ operator+=()

weekday & iso_week::weekday::operator+= ( const days d)
inline

Definition at line 476 of file iso_week.h.

◆ operator--() [1/2]

weekday & iso_week::weekday::operator-- ( )
inline

Definition at line 471 of file iso_week.h.

References wd_.

◆ operator--() [2/2]

weekday iso_week::weekday::operator-- ( int  )
inline

Definition at line 472 of file iso_week.h.

◆ operator-=()

weekday & iso_week::weekday::operator-= ( const days d)
inline

Definition at line 484 of file iso_week.h.

◆ to_iso_encoding()

CONSTCD11 unsigned char iso_week::weekday::to_iso_encoding ( unsigned char  z)
inlinestaticprivate

Definition at line 423 of file iso_week.h.

Referenced by weekday_from_days().

◆ weekday_from_days()

CONSTCD11 unsigned char iso_week::weekday::weekday_from_days ( int  z)
inlinestaticprivate

Definition at line 439 of file iso_week.h.

References to_iso_encoding().

Here is the call graph for this function:

Member Data Documentation

◆ wd_


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