pub struct JD;Expand description
Julian Day (days since noon 1 January 4713 BC on the proleptic Julian calendar, TT axis by convention).
Trait Implementations§
Source§impl<S, SrcF> ConversionTarget<S, SrcF> for JDwhere
S: CoordinateScale,
SrcF: TimeFormat,
impl<S, SrcF> ConversionTarget<S, SrcF> for JDwhere
S: CoordinateScale,
SrcF: TimeFormat,
type Output = Time<S, JD>
fn try_convert( src: Time<S, SrcF>, ) -> Result<<JD as ConversionTarget<S, SrcF>>::Output, ConversionError>
impl Copy for JD
Source§impl<S> FormatForScale<S> for JDwhere
S: CoordinateScale,
impl<S> FormatForScale<S> for JDwhere
S: CoordinateScale,
fn try_from_time<Fin>(
time: Time<S, Fin>,
_ctx: &TimeContext,
) -> Result<Quantity<Day>, ConversionError>where
Fin: TimeFormat,
fn try_into_time( raw: Quantity<Day>, _ctx: &TimeContext, ) -> Result<Time<S, JD>, ConversionError>
Source§impl<S, SrcF> InfallibleConversionTarget<S, SrcF> for JDwhere
S: CoordinateScale,
SrcF: TimeFormat,
impl<S, SrcF> InfallibleConversionTarget<S, SrcF> for JDwhere
S: CoordinateScale,
SrcF: TimeFormat,
Source§impl<S> InfallibleFormatForScale<S> for JDwhere
S: CoordinateScale,
impl<S> InfallibleFormatForScale<S> for JDwhere
S: CoordinateScale,
Auto Trait Implementations§
impl Freeze for JD
impl RefUnwindSafe for JD
impl Send for JD
impl Sync for JD
impl Unpin for JD
impl UnsafeUnpin for JD
impl UnwindSafe for JD
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<T> UsingEngine for T
impl<T> UsingEngine for T
Source§fn using<'a, Ctx>(&'a self, engine: &'a Ctx) -> WithEngine<'a, Self, Ctx>where
Ctx: TransformContext,
fn using<'a, Ctx>(&'a self, engine: &'a Ctx) -> WithEngine<'a, Self, Ctx>where
Ctx: TransformContext,
Wrap this coordinate with a custom transform context for the next
transformation call.