Trait gregor::TimeZone [] [src]

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

Required Methods

Implementors