Scarab  v2.4.8
Project 8 C++ Utility Library
Public Member Functions | Private Attributes | List of all members
day Class Reference

#include <date.h>

Public Member Functions

 day ()=default
 
constexpr day (unsigned d) noexcept
 
dayoperator++ () noexcept
 
day operator++ (int) noexcept
 
dayoperator-- () noexcept
 
day operator-- (int) noexcept
 
dayoperator+= (const days &d) noexcept
 
dayoperator-= (const days &d) noexcept
 
constexpr operator unsigned () const noexcept
 
constexpr bool ok () const noexcept
 

Private Attributes

unsigned char d_
 

Detailed Description

Definition at line 289 of file date.h.

Constructor & Destructor Documentation

◆ day() [1/2]

day ( )
default

◆ day() [2/2]

constexpr day ( unsigned  d)
inlineexplicitnoexcept

Definition at line 1261 of file date.h.

Member Function Documentation

◆ ok()

constexpr bool ok ( ) const
inlinenoexcept

Definition at line 1269 of file date.h.

◆ operator unsigned()

constexpr operator unsigned ( ) const
inlineexplicitnoexcept

Definition at line 1268 of file date.h.

◆ operator++() [1/2]

day & operator++ ( )
inlinenoexcept

Definition at line 1262 of file date.h.

◆ operator++() [2/2]

day operator++ ( int  )
inlinenoexcept

Definition at line 1263 of file date.h.

◆ operator+=()

day & operator+= ( const days d)
inlinenoexcept

Definition at line 1266 of file date.h.

◆ operator--() [1/2]

day & operator-- ( )
inlinenoexcept

Definition at line 1264 of file date.h.

◆ operator--() [2/2]

day operator-- ( int  )
inlinenoexcept

Definition at line 1265 of file date.h.

◆ operator-=()

day & operator-= ( const days d)
inlinenoexcept

Definition at line 1267 of file date.h.

Member Data Documentation

◆ d_

unsigned char d_
private

Definition at line 291 of file date.h.


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