class
std::chrono::year_month
- Header
<chrono>- Draft
- [cal.ym.overview]
- Scope
std::chrono- cppreference
- std::chrono::year_month
Synopsis
class year_month;Member functions
| Name | Declaration |
|---|---|
year_monthconstructor · 2 overloads | year_month() +1 more |
monthmember function | chrono::month month() const |
okmember function | bool ok() const |
operator+=operator · 2 overloads | year_month& operator+=(const years& dy) +1 more |
operator-=operator · 2 overloads | year_month& operator-=(const years& dy) +1 more |
yearmember function | chrono::year year() const |