IntoFineDateTime

Trait IntoFineDateTime 

Source
pub trait IntoFineDateTime {
    // Required method
    fn into_fine_datetime(self) -> (Date, u8, u8, u8, Duration);
}

Required Methods§

Source

fn into_fine_datetime(self) -> (Date, u8, u8, u8, Duration)

Convenience function that maps from a “fine” (subsecond-accuracy) time point to a date-time according to this time scale. Returns a tuple of date, hour, minute, second, and subsecond. Shall not fail, unless overflow occurs in the underlying integer arithmetic.

Implementors§

Source§

impl<Scale> IntoFineDateTime for TimePoint<Scale>
where Scale: ?Sized, Self: IntoDateTime,