[][src]Trait chrono::offset::Offset

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.

Loading content...

Implementors

impl Offset for FixedOffset[src]

impl Offset for Utc[src]

Loading content...