C++Instrument Catalog MFC 1.2
Metrolab C++InstrumentCatalog for MFC
Loading...
Searching...
No Matches
date::weekday Class Reference

#include <date.h>

Public Member Functions

 weekday ()=default
CONSTCD11 weekday (unsigned wd) NOEXCEPT
CONSTCD14 weekday (const sys_days &dp) NOEXCEPT
CONSTCD14 weekday (const local_days &dp) NOEXCEPT
CONSTCD14 weekday & operator++ () NOEXCEPT
CONSTCD14 weekday operator++ (int) NOEXCEPT
CONSTCD14 weekday & operator-- () NOEXCEPT
CONSTCD14 weekday operator-- (int) NOEXCEPT
CONSTCD14 weekday & operator+= (const days &d) NOEXCEPT
CONSTCD14 weekday & operator-= (const days &d) NOEXCEPT
CONSTCD11 bool ok () const NOEXCEPT
CONSTCD11 unsigned c_encoding () const NOEXCEPT
CONSTCD11 unsigned iso_encoding () const NOEXCEPT
CONSTCD11 weekday_indexed operator[] (unsigned index) const NOEXCEPT
CONSTCD11 weekday_last operator[] (last_spec) const NOEXCEPT

Friends

class weekday_indexed
CONSTCD11 bool operator== (const weekday &x, const weekday &y)
CONSTCD14 days operator- (const weekday &x, const weekday &y)
CONSTCD14 weekday operator+ (const weekday &x, const days &y)
template<class CharT, class Traits>
std::basic_ostream< CharT, Traits > & operator<< (std::basic_ostream< CharT, Traits > &os, const weekday &wd)

Detailed Description

Definition at line 448 of file date.h.

Constructor & Destructor Documentation

◆ weekday() [1/4]

date::weekday::weekday ( )
default

◆ weekday() [2/4]

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

Definition at line 1747 of file date.h.

◆ weekday() [3/4]

CONSTCD14 date::weekday::weekday ( const sys_days & dp)
inline

Definition at line 1753 of file date.h.

◆ weekday() [4/4]

CONSTCD14 date::weekday::weekday ( const local_days & dp)
inlineexplicit

Definition at line 1759 of file date.h.

Member Function Documentation

◆ c_encoding()

CONSTCD11 unsigned date::weekday::c_encoding ( ) const
inline

Definition at line 1790 of file date.h.

◆ iso_encoding()

CONSTCD11 unsigned date::weekday::iso_encoding ( ) const
inline

Definition at line 1797 of file date.h.

◆ ok()

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

Definition at line 1786 of file date.h.

◆ operator++() [1/2]

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

Definition at line 1763 of file date.h.

◆ operator++() [2/2]

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

Definition at line 1764 of file date.h.

◆ operator+=()

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

Definition at line 1771 of file date.h.

◆ operator--() [1/2]

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

Definition at line 1765 of file date.h.

◆ operator--() [2/2]

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

Definition at line 1766 of file date.h.

◆ operator-=()

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

Definition at line 1780 of file date.h.

◆ operator[]() [1/2]

CONSTCD11 weekday_last date::weekday::operator[] ( last_spec ) const
inline

Definition at line 2043 of file date.h.

◆ operator[]() [2/2]

CONSTCD11 weekday_indexed date::weekday::operator[] ( unsigned index) const
inline

Definition at line 1989 of file date.h.

◆ operator+

CONSTCD14 weekday operator+ ( const weekday & x,
const days & y )
friend

Definition at line 1831 of file date.h.

◆ operator-

CONSTCD14 days operator- ( const weekday & x,
const weekday & y )
friend

Definition at line 1821 of file date.h.

◆ operator<<

template<class CharT, class Traits>
std::basic_ostream< CharT, Traits > & operator<< ( std::basic_ostream< CharT, Traits > & os,
const weekday & wd )
friend

Definition at line 1849 of file date.h.

◆ operator==

CONSTCD11 bool operator== ( const weekday & x,
const weekday & y )
friend

Definition at line 1805 of file date.h.

◆ weekday_indexed

friend class weekday_indexed
friend

Definition at line 482 of file date.h.


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