[][src]Trait gregor::TimeZone

pub trait TimeZone {
    fn from_timestamp(&self, t: UnixTimestamp) -> NaiveDateTime;
fn to_timestamp(
        &self,
        d: &NaiveDateTime
    ) -> Result<UnixTimestamp, LocalTimeConversionError>; }

Required methods

Loading content...

Implementors

Loading content...