Struct zoneinfo_parse::transitions::FixedTimespan [] [src]

pub struct FixedTimespan {
    pub utc_offset: i64,
    pub dst_offset: i64,
    pub name: String,
}

An individual timespan with a fixed offset.

This mimics the FixedTimespan struct in datetime::cal::zone, except instead of “total offset” and “is DST” fields, it has separate UTC and DST fields. Also, the name is an owned String here instead of a slice.

Fields

The number of seconds offset from UTC during this timespan.

The number of extra daylight-saving seconds during this timespan.

The abbreviation in use during this timespan.

Methods

impl FixedTimespan
[src]

The total offset in effect during this timespan.

Trait Implementations

impl PartialEq for FixedTimespan
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Debug for FixedTimespan
[src]

Formats the value using the given formatter.

impl Clone for FixedTimespan
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more