pub type GlonassTime = TimePoint<Glonasst>;Expand description
GlonassTime is a time point that is expressed according to the GLONASS Time time
scale.
Aliased Type§
pub struct GlonassTime { /* private fields */ }Trait Implementations§
Source§impl FromLeapSecondDateTime for GlonassTime
impl FromLeapSecondDateTime for GlonassTime
type Error = InvalidGlonassDateTime
Source§fn from_datetime(
date: Date,
hour: u8,
minute: u8,
second: u8,
leap_second_provider: &impl LeapSecondProvider,
) -> Result<Self, Self::Error>
fn from_datetime( date: Date, hour: u8, minute: u8, second: u8, leap_second_provider: &impl LeapSecondProvider, ) -> Result<Self, Self::Error>
Maps a given combination of date and time-of-day to an instant on this time scale. May
return an error if the input does not represent a valid combination of date and
time-of-day. Read more
Source§impl IntoLeapSecondDateTime for GlonassTime
impl IntoLeapSecondDateTime for GlonassTime
Source§fn into_datetime(
self,
leap_second_provider: &impl LeapSecondProvider,
) -> (Date, u8, u8, u8)
fn into_datetime( self, leap_second_provider: &impl LeapSecondProvider, ) -> (Date, u8, u8, u8)
Maps a time point back to the date and time-of-day that it represents. Returns a tuple of
date, hour, minute, and second. This function shall not fail, unless overflow occurs in the
underlying integer arithmetic. Read more