pub trait Offset { fn to_utc(&self) -> UtcOffset; fn name(&self) -> &str; fn is_dst(&self) -> bool; }
This trait represents a particular timezone offset.
Converts this timezone offset to a UtcOffset.
Returns the name of this offset.
Returns true if this offset is DST in the corresponding timezone, false otherwise.