pub type TtTime = TimePoint<Tt>;Aliased Type§
pub struct TtTime { /* private fields */ }Implementations§
Source§impl TtTime
impl TtTime
Sourcepub fn approximate_tdb(self) -> TdbTime
pub fn approximate_tdb(self) -> TdbTime
Approximates Barycentric Dynamical Time (BDT) from TT using a simplified expression
following the IAU SOFA estimate TDB = TT + 0.001657 * sin(g) where g is an estimate of
the Earth’s mean anomaly. The resulting estimate is accurate to 50 microseconds from 1980
to 2100.
See “SOFA Time Scale and Calendar Tools”, 2023 May 31, version for the C programming language. Section 4.3.4 “TDB minus TT”.
Trait Implementations§
Source§impl FromTimeScale<Tcg> for TtTime
impl FromTimeScale<Tcg> for TtTime
Source§fn from_time_scale(time_point: TimePoint<Tcg>) -> Self
fn from_time_scale(time_point: TimePoint<Tcg>) -> Self
Constructs a time point from an instant expressed in another scale.