Scarab  v3.2.1
Project 8 C++ Utility Library
Functions | Variables
date::literals Namespace Reference

Functions

constexpr date::day operator"" _d (unsigned long long d) noexcept
 
constexpr date::year operator"" _y (unsigned long long y) noexcept
 

Variables

constexpr const date::last_spec last {}
 
constexpr const date::month jan {1}
 
constexpr const date::month feb {2}
 
constexpr const date::month mar {3}
 
constexpr const date::month apr {4}
 
constexpr const date::month may {5}
 
constexpr const date::month jun {6}
 
constexpr const date::month jul {7}
 
constexpr const date::month aug {8}
 
constexpr const date::month sep {9}
 
constexpr const date::month oct {10}
 
constexpr const date::month nov {11}
 
constexpr const date::month dec {12}
 
constexpr const date::weekday sun {0u}
 
constexpr const date::weekday mon {1u}
 
constexpr const date::weekday tue {2u}
 
constexpr const date::weekday wed {3u}
 
constexpr const date::weekday thu {4u}
 
constexpr const date::weekday fri {5u}
 
constexpr const date::weekday sat {6u}
 

Function Documentation

◆ operator"" _d()

constexpr date::day operator"" _d ( unsigned long long  d)
inlinenoexcept

Definition at line 1820 of file date.h.

◆ operator"" _y()

constexpr date::year operator"" _y ( unsigned long long  y)
inlinenoexcept

Definition at line 1828 of file date.h.

Variable Documentation

◆ apr

constexpr const date::month apr {4}

Definition at line 1839 of file date.h.

◆ aug

constexpr const date::month aug {8}

Definition at line 1843 of file date.h.

◆ dec

constexpr const date::month dec {12}

Definition at line 1847 of file date.h.

◆ feb

constexpr const date::month feb {2}

Definition at line 1837 of file date.h.

◆ fri

constexpr const date::weekday fri {5u}

Definition at line 1854 of file date.h.

◆ jan

constexpr const date::month jan {1}

Definition at line 1836 of file date.h.

◆ jul

constexpr const date::month jul {7}

Definition at line 1842 of file date.h.

◆ jun

constexpr const date::month jun {6}

Definition at line 1841 of file date.h.

◆ last

constexpr const date::last_spec last {}

Definition at line 1834 of file date.h.

◆ mar

constexpr const date::month mar {3}

Definition at line 1838 of file date.h.

◆ may

constexpr const date::month may {5}

Definition at line 1840 of file date.h.

◆ mon

constexpr const date::weekday mon {1u}

Definition at line 1850 of file date.h.

◆ nov

constexpr const date::month nov {11}

Definition at line 1846 of file date.h.

◆ oct

constexpr const date::month oct {10}

Definition at line 1845 of file date.h.

◆ sat

constexpr const date::weekday sat {6u}

Definition at line 1855 of file date.h.

◆ sep

constexpr const date::month sep {9}

Definition at line 1844 of file date.h.

◆ sun

constexpr const date::weekday sun {0u}

Definition at line 1849 of file date.h.

◆ thu

constexpr const date::weekday thu {4u}

Definition at line 1853 of file date.h.

◆ tue

constexpr const date::weekday tue {2u}

Definition at line 1851 of file date.h.

◆ wed

constexpr const date::weekday wed {3u}

Definition at line 1852 of file date.h.