Struct parse_zoneinfo::table::Table [] [src]

pub struct Table {
    pub rulesets: HashMap<String, Vec<RuleInfo>>,
    pub zonesets: HashMap<String, Vec<ZoneInfo>>,
    pub links: HashMap<String, String>,
}

A table of all the data in one or more zoneinfo files.

Fields

Mapping of ruleset names to rulesets.

Mapping of zoneset names to zonesets.

Mapping of link timezone names, to the names they link to.

Methods

impl Table
[src]

[src]

Tries to find the zoneset with the given name by looking it up in either the zonesets map or the links map.

Trait Implementations

impl PartialEq for Table
[src]

[src]

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

[src]

This method tests for !=.

impl Debug for Table
[src]

[src]

Formats the value using the given formatter.

impl Default for Table
[src]

[src]

Returns the "default value" for a type. Read more

impl TableTransitions for Table
[src]

[src]

Computes a fixed timespan set for the timezone with the given name. Returns None if the table doesn’t contain a time zone with that name. Read more

impl Structure for Table
[src]

[src]

Returns an iterator over the structure of this table.