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 ConversionTarget<TDB> for UT1
impl ConversionTarget<TDB> for UT1
Source§impl ConversionTarget<UT1> for TDB
impl ConversionTarget<UT1> for TDB
Source§impl Ord for TDB
impl Ord for TDB
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<S1, S2> ContextConversionTarget<S1> for S2
impl<S1, S2> ContextConversionTarget<S1> for S2
type Output = Time<S2>
fn convert_with( src: Time<S1>, ctx: &TimeContext, ) -> Result<<S2 as ContextConversionTarget<S1>>::Output, ConversionError>
Source§impl<S1, S2> ConversionTarget<S1> for S2
impl<S1, S2> ConversionTarget<S1> for S2
type Output = Time<S2>
fn try_convert( src: Time<S1>, ) -> Result<<S2 as ConversionTarget<S1>>::Output, ConversionError>
Source§impl<S1, S2> InfallibleConversionTarget<S1> for S2
impl<S1, S2> InfallibleConversionTarget<S1> for S2
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.