The class month represents a month in a year.
More...
#include <month.hpp>
The class month represents a month in a year.
Its normal range is [1, 12], but it may hold any number in [0, 255]. Twelve named constants are predefined in the etl::chrono namespace for the twelve months of the year.
◆ month() [1/2]
◆ month() [2/2]
|
inlineexplicitconstexprnoexcept |
◆ ok()
auto ok |
( |
| ) |
const -> bool |
|
inlinenodiscardconstexprnoexcept |
◆ operator unsigned()
operator unsigned |
( |
| ) |
const |
|
inlineexplicitconstexprnoexcept |
◆ operator++() [1/2]
auto operator++ |
( |
| ) |
-> month& |
|
constexprnoexcept |
◆ operator++() [2/2]
auto operator++ |
( |
int | | ) |
-> month |
|
constexprnoexcept |
◆ operator+=()
◆ operator--() [1/2]
auto operator-- |
( |
| ) |
-> month& |
|
constexprnoexcept |
◆ operator--() [2/2]
auto operator-- |
( |
int | | ) |
-> month |
|
constexprnoexcept |
◆ operator-=()
The documentation for this struct was generated from the following file: