libycxx

class

std::chrono::year

Header
<chrono>
Scope
std::chrono

Synopsis

class year;

Member functions

NameDeclaration
yearconstructor · 2 overloadsyear() +1 more
is_leapmember functionbool is_leap() const
okmember functionbool ok() const
operator+operatoryear operator+() const
operator++operator · 2 overloadsyear& operator++() +1 more
operator+=operatoryear& operator+=(const years& y)
operator-operatoryear operator-() const
operator--operator · 2 overloadsyear& operator--() +1 more
operator-=operatoryear& operator-=(const years& y)
operator intconversion functionoperator int() const

Static member functions

NameDeclaration
maxstatic member functionyear max()
minstatic member functionyear min()