std::chrono::day (3) - Linux Manuals
std::chrono::day: std::chrono::day
Command to display std::chrono::day
manual in Linux: $ man 3 std::chrono::day
NAME
std::chrono::day - std::chrono::day
Synopsis
Defined in header <chrono>
class day; (since C++20)
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 is a TriviallyCopyable StandardLayoutType.
Member functions
constructs a day
constructor (public member function)
operator++ increments or decrements the day
operator++(int) (public member function)
operator--
operator--(int)
adds or subtracts a number of days
operator+= (public member function)
operator-=
retrieves the stored day value
operator_unsigned (public member function)
checks if the stored day value is in the normal range
ok (public member function)
Nonmember functions
operator==
operator!= compares two day objects
operator< (function)
operator<=
operator>
operator>=
adds or subtracts a number of days and a day, or find the difference between two days
operator+ (function)
operator-
outputs a day into a stream
operator<< (function template)
outputs a day into a stream according to the provided format
to_stream (function template)
parses a day from a stream according to the provided format
from_stream (function template)
Literals
Defined in inline namespace std::literals::chrono_literals
operator""d A std::chrono::day literal representing a day of a month
(function)
(C++20)
Pages related to std::chrono::day
- std::chrono::day::day (3) - std::chrono::day::day
- std::chrono::day::ok (3) - std::chrono::day::ok
- std::chrono::day::operator++,std::chrono::day::operator-- (3) - - std::chrono::day::operator++,std::chrono::day::operator--
- std::chrono::day::operator+=,std::chrono::day::operator-= (3) - std::chrono::day::operator+=,std::chrono::day::operator-=
- std::chrono::day::operatorunsigned (3) - std::chrono::day::operatorunsigned
- std::chrono::duration (3) - std::chrono::duration
- std::chrono::duration<Rep,Period>::count (3) - std::chrono::duration<Rep,Period>::count
- std::chrono::duration<Rep,Period>::duration (3) - std::chrono::duration<Rep,Period>::duration
- std::chrono::duration<Rep,Period>::max (3) - std::chrono::duration<Rep,Period>::max
- std::chrono::duration<Rep,Period>::min (3) - std::chrono::duration<Rep,Period>::min
- std::chrono::duration<Rep,Period>::operator+(unary), (3) - std::chrono::duration<Rep,Period>::operator+(unary),
- std::chrono::duration<Rep,Period>::operator+(unary),std::chrono::duration<Rep,Period>::operator-(unary) (3) - std::chrono::duration<Rep,Period>::operator+(unary),std::chrono::duration<Rep,Period>::operator-(unary)
- std::chrono::duration<Rep,Period>::operator++, (3) - std::chrono::duration<Rep,Period>::operator++,
- std::chrono::duration<Rep,Period>::operator++,std::chrono::duration<Rep,Period>::operator-- (3) - - std::chrono::duration<Rep,Period>::operator++,std::chrono::duration<Rep,Period>::operator--
- std::chrono::duration<Rep,Period>::operator= (3) - std::chrono::duration<Rep,Period>::operator=
- std::chrono::duration<Rep,Period>::zero (3) - std::chrono::duration<Rep,Period>::zero
- std::chrono::duration_cast (3) - std::chrono::duration_cast
- std::chrono::duration_values (3) - std::chrono::duration_values