60inline uint16_t getLeapSecondInsertionsSince2004(
const uint64_t unix_seconds) {
62 if (LEAP_SECOND_INSERTIONS_SINCE_2004.empty())
return 0;
63 auto it = LEAP_SECOND_INSERTIONS_SINCE_2004.upper_bound(
65 if (it == LEAP_SECOND_INSERTIONS_SINCE_2004.begin())
return 0;