Skip to main content

ToTT

Trait ToTT 

Source
pub trait ToTT {
    // Required method
    fn to_tt(&self) -> TimeResult<TT>;
}
Expand description

Convert a time scale to Terrestrial Time (TT).

TT is the time scale for geocentric ephemerides and Earth-based observations. It differs from TAI by exactly 32.184 seconds (TT = TAI + 32.184s), a value chosen for continuity with the older ET (Ephemeris Time) scale.

Implemented for: TT (identity), TAI, TCG

For TDB → TT, use ToTTFromTDB which requires observer location. For UT1 → TT, use ToTTWithDeltaT which requires Delta-T.

Required Methods§

Source

fn to_tt(&self) -> TimeResult<TT>

Convert to Terrestrial Time.

Implementors§

Source§

impl ToTT for TAI

Convert TAI to TT by adding the fixed 32.184 second offset.

The offset is added to whichever Julian Date component has smaller magnitude to preserve maximum precision in the two-part representation.

Source§

impl ToTT for TCG

Source§

impl ToTT for TDB

Source§

impl ToTT for TT

Identity conversion for TT.