std::chrono::get_leap_second_info
Min standard notice:
Header: <chrono>
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.
# Declarations
template< class Duration >
std::chrono::leap_second_info
get_leap_second_info( const std::chrono::utc_time<Duration>& ut );
(since C++20)
# Parameters
ut: UTC time to examine
# Return value
A leap_second_info value specified above.