std::chrono::get_leap_second_info -
std::chrono::get_leap_second_info
Defined in header <chrono>
template< class Duration >
std::chrono::leap_second_info (since C++20)
get_leap_second_info( const std::chrono::utc_time<Duration>& ut
);
Obtains a std::chrono::leap_second_info whose is_leap_second and elapsed
indicate
whether ut is during a positive leap second insertion and the sum of leap
seconds
between 1 January 1970 and ut, respectively.
A leap_second_info value specified above.
May throw implementation-defined exceptions.
leap_second_info leap second insertion information
(C++20) (class)
leap_second contains information about a leap second insertion
(C++20) (class)