GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
std::chrono::day(3) C++ Standard Libary std::chrono::day(3)

std::chrono::day - std::chrono::day


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.


constructor constructs a day
(public member function)
operator++
operator++(int) increments or decrements the day
operator-- (public member function)
operator--(int)
operator+= adds or subtracts a number of days
operator-= (public member function)
operator unsigned retrieves the stored day value
(public member function)
ok checks if the stored day value is in the normal range
(public member function)


Nonmember functions


operator== compares two day values
operator<=> (function)
(C++20)
operator+ adds or subtracts a number of days and a day, or find the difference
operator- between two days
(C++20) (function)
operator<< outputs a day into a stream
(C++20) (function template)
from_stream parses a day from a stream according to the provided format
(C++20) (function template)


std::formatter<std::chrono::day> specialization of std::formatter that formats a day
(C++20) according to the provided format
(class template specialization)


Defined in inline namespace std::literals::chrono_literals
operator""d A std::chrono::day literal representing a day of a month
(C++20) (function)

2022.07.31 http://cppreference.com

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.