pub trait ToUT1 {
// Required method
fn to_ut1(&self) -> TimeResult<UT1>;
}Expand description
Convert a time scale to Universal Time 1 (UT1).
UT1 is tied to Earth’s actual rotation angle. Unlike atomic time scales, it varies unpredictably due to tidal friction, core-mantle coupling, and atmospheric effects. The difference UT1-UTC (DUT1) is kept within 0.9s by leap second adjustments.
Implemented for: UT1 (identity)
For TAI → UT1, use ToUT1WithOffset with the IERS UT1-TAI offset.
For TT → UT1, use ToUT1WithDeltaT with Delta-T.
Required Methods§
Sourcefn to_ut1(&self) -> TimeResult<UT1>
fn to_ut1(&self) -> TimeResult<UT1>
Convert to Universal Time 1.