Trait chrono::Offset

source ·
pub trait Offset: Sized + Clone + Debug {
    // Required method
    fn fix(&self) -> FixedOffset;
}
Expand description

The offset from the local time to UTC.

Required Methods§

source

fn fix(&self) -> FixedOffset

Returns the fixed offset from UTC to the local time stored.

Object Safety§

This trait is not object safe.

Implementors§