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::leap_second_info(3) C++ Standard Libary std::chrono::leap_second_info(3)

std::chrono::leap_second_info - std::chrono::leap_second_info


Defined in header <chrono>
struct leap_second_info {


bool is_leap_second; (since C++20)
std::chrono::seconds elapsed;


};


A leap_second_info indicates whether a UTC time is during a positive leap second
insertion and the total number of leap seconds between 1 January 1970 and the UTC
time.


leap_second_info has no base classes or members other than is_leap_second, elapsed,
and implicitly declared special member functions.


is_leap_second whether the UTC time is during a positive leap second insertion
(public member object)
elapsed the sum of leap seconds between 1 January 1970 and the UTC time
(public member object)


leap_second_info is typically obtained from std::chrono::get_leap_second_info.


leap_second contains information about a leap second insertion
(C++20) (class)

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.