std::chrono:: leap_second
From cppreference.com
C++
Utilities library
|
|
Date and time utilities
Time point | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Duration | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Clocks | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Time of day | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Calendar | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Time zone | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
chrono
I/O
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
(C++20)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
C-style date and time |
std::chrono::leap_second
Member functions | ||||
Nonmember functions | ||||
Helper classes | ||||
(C++26)
|
Defined in header
<chrono>
|
||
class
leap_second
;
|
(since C++20) | |
The class
leap_second
represents the date and time of a leap second insertion.
Users cannot construct
leap_second
objects except by copying from existing
leap_second
objects. The library implementation creates
leap_second
objects when it initializes the time zone database and provides
const
access to these objects.
leap_second
has a defaulted copy constructor and a defaulted copy assignment operator.
Member functions
obtains the time of leap second insertion
(public member function) |
Nonmember functions
compares two
leap_second
values or a
leap_second
value and a
sys_time
(function template) |
Helper classes
hash support for
std::chrono::leap_second
(class template specialization) |
Retrieved from "
https://en.cppreference.com/mwiki/index.php?title=cpp/chrono/leap_second&oldid=157600
"