The class day represents a day in a month.
More...
#include <day.hpp>
The class day represents a day in a month.
Its normal range is [1, 31], but it may hold any number in [0, 255].
◆ day() [1/2]
◆ day() [2/2]
|
inlineexplicitconstexprnoexcept |
◆ ok()
auto ok |
( |
| ) |
const -> bool |
|
inlinenodiscardconstexprnoexcept |
◆ operator unsigned()
operator unsigned |
( |
| ) |
const |
|
inlineexplicitconstexprnoexcept |
◆ operator++() [1/2]
auto operator++ |
( |
| ) |
-> day& |
|
inlineconstexprnoexcept |
◆ operator++() [2/2]
auto operator++ |
( |
int | | ) |
-> day
|
|
inlineconstexprnoexcept |
◆ operator+=()
auto operator+= |
( |
days const & | d | ) |
-> day&
|
|
inlineconstexprnoexcept |
◆ operator--() [1/2]
auto operator-- |
( |
| ) |
-> day& |
|
inlineconstexprnoexcept |
◆ operator--() [2/2]
auto operator-- |
( |
int | | ) |
-> day
|
|
inlineconstexprnoexcept |
◆ operator-=()
auto operator-= |
( |
days const & | d | ) |
-> day&
|
|
inlineconstexprnoexcept |
◆ operator<
auto operator< |
( |
day | lhs, |
|
|
day | rhs ) -> bool
|
|
friend |
◆ operator<=
auto operator<= |
( |
day | lhs, |
|
|
day | rhs ) -> bool
|
|
friend |
◆ operator==
auto operator== |
( |
day | lhs, |
|
|
day | rhs ) -> bool
|
|
friend |
◆ operator>
auto operator> |
( |
day | lhs, |
|
|
day | rhs ) -> bool
|
|
friend |
◆ operator>=
auto operator>= |
( |
day | lhs, |
|
|
day | rhs ) -> bool
|
|
friend |
The documentation for this struct was generated from the following file: