Trait chrono::offset::Offset
[−]
[src]
pub trait Offset: Sized + Clone + Debug { fn fix(&self) -> FixedOffset; }
The offset from the local time to UTC.
Required Methods
fn fix(&self) -> FixedOffset
Returns the fixed offset from UTC to the local time stored.
Implementors
impl Offset for Utc
impl Offset for FixedOffset