std::chrono::leap_second_info
Min standard notice:
Header: <chrono>
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.
# Declarations
struct leap_second_info {
bool is_leap_second;
std::chrono::seconds elapsed;
};
(since C++20)
# Notes
leap_second_info is typically obtained from std::chrono::get_leap_second_info.