pub trait Offset {
    fn to_utc(&self) -> UtcOffset;
    fn name(&self) -> &str;
    fn is_dst(&self) -> bool;
}
Expand description

This trait represents a particular timezone offset.

Required Methods

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.

Implementors