[−][src]Trait gregor::TimeZone
Required methods
fn from_timestamp(&self, t: UnixTimestamp) -> NaiveDateTime
fn to_timestamp(
&self,
d: &NaiveDateTime
) -> Result<UnixTimestamp, LocalTimeConversionError>
&self,
d: &NaiveDateTime
) -> Result<UnixTimestamp, LocalTimeConversionError>
Implementors
impl TimeZone for FixedOffsetFromUtc
[src]
fn from_timestamp(&self, u: UnixTimestamp) -> NaiveDateTime
[src]
fn to_timestamp(
&self,
d: &NaiveDateTime
) -> Result<UnixTimestamp, LocalTimeConversionError>
[src]
&self,
d: &NaiveDateTime
) -> Result<UnixTimestamp, LocalTimeConversionError>
impl TimeZone for Utc
[src]
fn from_timestamp(&self, u: UnixTimestamp) -> NaiveDateTime
[src]
fn to_timestamp(
&self,
d: &NaiveDateTime
) -> Result<UnixTimestamp, LocalTimeConversionError>
[src]
&self,
d: &NaiveDateTime
) -> Result<UnixTimestamp, LocalTimeConversionError>
impl<Tz: DaylightSaving> TimeZone for Tz
[src]
fn from_timestamp(&self, u: UnixTimestamp) -> NaiveDateTime
[src]
fn to_timestamp(
&self,
d: &NaiveDateTime
) -> Result<UnixTimestamp, LocalTimeConversionError>
[src]
&self,
d: &NaiveDateTime
) -> Result<UnixTimestamp, LocalTimeConversionError>