std::chrono::year_month (3) - Linux Manuals
std::chrono::year_month: std::chrono::year_month
Command to display std::chrono::year_month
manual in Linux: $ man 3 std::chrono::year_month
NAME
std::chrono::year_month - std::chrono::year_month
Synopsis
Defined in header <chrono>
class year_month; (since C++20)
The class year_month represents a specific month of a specific year, but with an unspecified day. It is a field-based time point, with a resolution of std::chrono::months.
year_month is a TriviallyCopyable StandardLayoutType.
Member functions
constructs a year_month
constructor (public member function)
accesses the stored year and month
year (public member function)
month
modifies the year_month by some number of months or years
operator+= (public member function)
operator-=
checks if this year_month is valid
ok (public member function)
Nonmember functions
operator==
operator!= compares two year_month objects
operator< (function)
operator<=
operator>
operator>=
performs arithmetic on year_month
operator+ (function)
operator-
outputs a year_month into a stream
operator<< (function template)
outputs a year_month into a stream according to the provided format
to_stream (function template)
parses a year_month from a stream according to the provided format
from_stream (function template)
Pages related to std::chrono::year_month
- std::chrono::year_month::ok (3) - std::chrono::year_month::ok
- std::chrono::year_month::operator+=,std::chrono::year_month::operator-= (3) - std::chrono::year_month::operator+=,std::chrono::year_month::operator-=
- std::chrono::year_month::year,std::chrono::year_month::month (3) - std::chrono::year_month::year,std::chrono::year_month::month
- std::chrono::year_month::year_month (3) - std::chrono::year_month::year_month
- std::chrono::year_month_day (3) - std::chrono::year_month_day
- std::chrono::year_month_day::ok (3) - std::chrono::year_month_day::ok
- std::chrono::year_month_day::operator+=,std::chrono::year_month_day::operator-= (3) - std::chrono::year_month_day::operator+=,std::chrono::year_month_day::operator-=
- std::chrono::year_month_day::operatorsys_days,std::chrono::year_month_day::operator (3) - std::chrono::year_month_day::operatorsys_days,std::chrono::year_month_day::operator
- std::chrono::year_month_day::operatorsys_days,std::chrono::year_month_day::operatorlocal_days (3) - std::chrono::year_month_day::operatorsys_days,std::chrono::year_month_day::operatorlocal_days
- std::chrono::year_month_day::year,std::chrono::year_month_day::month, (3) - std::chrono::year_month_day::year,std::chrono::year_month_day::month,
- std::chrono::year_month_day::year,std::chrono::year_month_day::month,std::chrono::year_month_day::day (3) - std::chrono::year_month_day::year,std::chrono::year_month_day::month,std::chrono::year_month_day::day
- std::chrono::year_month_day::year_month_day (3) - std::chrono::year_month_day::year_month_day
- std::chrono::year_month_day_last (3) - std::chrono::year_month_day_last
- std::chrono::year_month_day_last::ok (3) - std::chrono::year_month_day_last::ok
- std::chrono::year_month_day_last::operator+=,std::chrono::year_month_day_last::operator-= (3) - std::chrono::year_month_day_last::operator+=,std::chrono::year_month_day_last::operator-=
- std::chrono::year_month_day_last::operatorsys_days, (3) - std::chrono::year_month_day_last::operatorsys_days,
- std::chrono::year_month_day_last::operatorsys_days,std::chrono::year_month_day_last::operatorlocal_days (3) - std::chrono::year_month_day_last::operatorsys_days,std::chrono::year_month_day_last::operatorlocal_days
- std::chrono::year_month_day_last::year,std::chrono::year_month_day_last::month, (3) - std::chrono::year_month_day_last::year,std::chrono::year_month_day_last::month,
- std::chrono::year_month_day_last::year,std::chrono::year_month_day_last::month,std::chrono::year_month_day_last::day,std::chrono::year_month_day_last::month_day_last (3) - std::chrono::year_month_day_last::year,std::chrono::year_month_day_last::month,std::chrono::year_month_day_last::day,std::chrono::year_month_day_last::month_day_last
- std::chrono::year_month_day_last::year_month_day_last (3) - std::chrono::year_month_day_last::year_month_day_last
- std::chrono::year_month_weekday (3) - std::chrono::year_month_weekday
- std::chrono::year_month_weekday::ok (3) - std::chrono::year_month_weekday::ok
- std::chrono::year_month_weekday::operator+=,std::chrono::year_month_weekday::operator-= (3) - std::chrono::year_month_weekday::operator+=,std::chrono::year_month_weekday::operator-=
- std::chrono::year_month_weekday::operatorsys_days, (3) - std::chrono::year_month_weekday::operatorsys_days,
- std::chrono::year_month_weekday::operatorsys_days,std::chrono::year_month_weekday::operatorlocal_days (3) - std::chrono::year_month_weekday::operatorsys_days,std::chrono::year_month_weekday::operatorlocal_days
- std::chrono::year_month_weekday::year,std::chrono::year_month_weekday::month, (3) - std::chrono::year_month_weekday::year,std::chrono::year_month_weekday::month,
- std::chrono::year_month_weekday::year_month_weekday (3) - std::chrono::year_month_weekday::year_month_weekday