Expand description
UTC time-scale data and TAI−UTC conversion tables.
Dt handles leap-second lookup, custom leap-second lists, and
pre-1972 historical offsets. Import this module for the embedded tables (LEAP_SECS,
UTC_HIST_TABLE), their row types (LeapSec, UtcHistRow), and LeapInfo
(returned by Dt::leap_sec).
Pre-1972 UTC uses piecewise-linear offsets; from 1972 onward, discrete leap seconds apply.
Structs§
- Leap
Info - Leap-second details for an instant, returned by
Dt::leap_secand related methods. - LeapSec
- Holds info about a leap-second transition. Used by LEAP_SECS.
- UtcHist
Row - Holds info about a pre-1972 historical UTC offset interval. Used by UTC_HIST_TABLE.
Enums§
- IsLeap
Sec - Indicates whether a queried instant falls exactly on a leap second transition.
Constants§
- LEAP_
SECS - Embedded leap-seconds list shipped with the library.
- UTC_
HIST_ TABLE - Authoritative pre-1972 TAI−UTC entries from the official USNO
tai-utc.datfile.
These 13 intervals contain the frequency offsets and linear drifts used by the IAU SOFA library and all other high-precision astronomy/time-conversion software before UTC switched to pure leap-second mode.