Scarab  3.2.2
Project 8 C++ Utility Library
Public Member Functions | Private Attributes | List of all members
month Class Reference

#include <date.h>

Public Member Functions

 month ()=default
 
constexpr month (unsigned m) noexcept
 
monthoperator++ () noexcept
 
month operator++ (int) noexcept
 
monthoperator-- () noexcept
 
month operator-- (int) noexcept
 
monthoperator+= (const months &m) noexcept
 
monthoperator-= (const months &m) noexcept
 
constexpr operator unsigned () const noexcept
 
constexpr bool ok () const noexcept
 

Private Attributes

unsigned char m_
 

Detailed Description

Definition at line 327 of file date.h.

Constructor & Destructor Documentation

◆ month() [1/2]

month ( )
default

◆ month() [2/2]

constexpr month ( unsigned  m)
inlineexplicitnoexcept

Definition at line 1367 of file date.h.

Member Function Documentation

◆ ok()

constexpr bool ok ( ) const
inlinenoexcept

Definition at line 1392 of file date.h.

◆ operator unsigned()

constexpr operator unsigned ( ) const
inlineexplicitnoexcept

Definition at line 1391 of file date.h.

◆ operator++() [1/2]

month & operator++ ( )
inlinenoexcept

Definition at line 1368 of file date.h.

◆ operator++() [2/2]

month operator++ ( int  )
inlinenoexcept

Definition at line 1369 of file date.h.

◆ operator+=()

month & operator+= ( const months m)
inlinenoexcept

Definition at line 1376 of file date.h.

◆ operator--() [1/2]

month & operator-- ( )
inlinenoexcept

Definition at line 1370 of file date.h.

◆ operator--() [2/2]

month operator-- ( int  )
inlinenoexcept

Definition at line 1371 of file date.h.

◆ operator-=()

month & operator-= ( const months m)
inlinenoexcept

Definition at line 1385 of file date.h.

Member Data Documentation

◆ m_

unsigned char m_
private

Definition at line 329 of file date.h.


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