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