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

#include <date.h>

Public Member Functions

 month_day ()=default
 
constexpr month_day (const date::month &m, const date::day &d) noexcept
 
constexpr date::month month () const noexcept
 
constexpr date::day day () const noexcept
 
bool ok () const noexcept
 

Private Attributes

date::month m_
 
date::day d_
 

Detailed Description

Definition at line 537 of file date.h.

Constructor & Destructor Documentation

◆ month_day() [1/2]

month_day ( )
default

◆ month_day() [2/2]

constexpr month_day ( const date::month m,
const date::day d 
)
inlinenoexcept

Definition at line 2138 of file date.h.

Member Function Documentation

◆ day()

constexpr date::day day ( ) const
inlinenoexcept

Definition at line 2144 of file date.h.

◆ month()

constexpr date::month month ( ) const
inlinenoexcept

Definition at line 2143 of file date.h.

◆ ok()

bool ok ( ) const
inlinenoexcept

Definition at line 2149 of file date.h.

Member Data Documentation

◆ d_

date::day d_
private

Definition at line 540 of file date.h.

◆ m_

date::month m_
private

Definition at line 539 of file date.h.


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