Expand description
Frozen scale set.
Every scale is a zero-sized marker type that identifies a scientifically
distinct time axis. The Scale trait is sealed — downstream crates
cannot add new scales.
- Coordinate scales (
TAI,TT,TDB,TCG,TCB,UT1,UTC) implementCoordinateScaleand support raw-axis constructors, accessors, and instant arithmetic onTime<S>. - The civil scale
UTCstill does not implementContinuousScale: it shares the internal instant axis used byTAI, but civil labels and leap-second interpretation remain table-driven.
Structs§
- BDT
- BeiDou Navigation Satellite System Time.
BDT = TAI − 33 s(nominal, exact integer offset). EquivalentlyBDT = GPST − 14 s. - ET
- NAIF/SPICE Ephemeris Time — compatibility marker.
- GPST
- GPS System Time.
GPST = TAI − 19 s(nominal, exact integer offset). - GST
- Galileo System Time. Nominally
GST = TAI − 19 s(identical tick rate and integer offset toGPSTtoday; broadcast inter-system offset GGTO is not modeled here). - QZSST
- Quasi-Zenith Satellite System Time. Nominally aligned with
GPST(QZSST = TAI − 19 s). The QZSS ICD defines QZSST as steered to GPST; observed inter-system offsets are not part of the scale. - TAI
- International Atomic Time. Continuous SI-second clock.
- TCB
- Barycentric Coordinate Time (IAU 2006 B3). Linear relation to TDB.
- TCG
- Geocentric Coordinate Time (IAU 2000 B1.9). Linear rate difference to TT.
- TDB
- Barycentric Dynamical Time.
- TT
- Terrestrial Time. The dynamical reference scale in this crate.
- UT1
- Universal Time 1 — Earth-rotation time axis.
- UTC
- Coordinated Universal Time.
Traits§
- Continuous
Scale - Witness that a scale is both coordinate-bearing and physically continuous.
- Coordinate
Scale - Witness that a scale is continuous and supports direct arithmetic.
UTCdeliberately does not implement this: it has raw-axis accessors throughCoordinateScale, but its civil interpretation remains leap-second-aware and table-driven. - Scale
- Marker trait for a scientifically distinct time scale.