pub struct TDB;Expand description
Barycentric Dynamical Time.
Differs from TT by a modeled periodic term using the seven-term Fairhead–Bretagnon truncation from USNO Circular 179.
The built-in approximation is context-free because the model has no
runtime-settable parameters, but its advertised high-accuracy regime is
finite: the implementation is documented to stay within about 10 µs only
over the interval bracketed by
TDB_TT_MODEL_HIGH_ACCURACY_START_JD and
TDB_TT_MODEL_HIGH_ACCURACY_END_JD (roughly 1600-01-01 to
2200-01-01 TT). Outside that interval conversions remain available, but
the crate does not claim microsecond-level scientific accuracy.
Trait Implementations§
Source§impl<SrcF: TimeFormat> ConversionTarget<TDB, SrcF> for UT1
impl<SrcF: TimeFormat> ConversionTarget<TDB, SrcF> for UT1
Source§impl<SrcF: TimeFormat> ConversionTarget<UT1, SrcF> for TDB
impl<SrcF: TimeFormat> ConversionTarget<UT1, SrcF> for TDB
Source§impl Ord for TDB
impl Ord for TDB
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for TDB
impl PartialOrd for TDB
impl ContinuousScale for TDB
impl CoordinateScale for TDB
impl Copy for TDB
impl Eq for TDB
impl StructuralPartialEq for TDB
Auto Trait Implementations§
impl Freeze for TDB
impl RefUnwindSafe for TDB
impl Send for TDB
impl Sync for TDB
impl Unpin for TDB
impl UnsafeUnpin for TDB
impl UnwindSafe for TDB
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<S1, S2, SrcF> ContextConversionTarget<S1, SrcF> for S2
impl<S1, S2, SrcF> ContextConversionTarget<S1, SrcF> for S2
type Output = Time<S2, SrcF>
fn convert_with( src: Time<S1, SrcF>, ctx: &TimeContext, ) -> Result<<S2 as ContextConversionTarget<S1, SrcF>>::Output, ConversionError>
Source§impl<S1, S2, SrcF> ConversionTarget<S1, SrcF> for S2
impl<S1, S2, SrcF> ConversionTarget<S1, SrcF> for S2
type Output = Time<S2, SrcF>
fn try_convert( src: Time<S1, SrcF>, ) -> Result<<S2 as ConversionTarget<S1, SrcF>>::Output, ConversionError>
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.