Trait zoneinfo_parse::transitions::TableTransitions
[−]
[src]
pub trait TableTransitions { fn timespans(&self, zone_name: &str) -> Option<FixedTimespanSet>; }
Trait to put the timespans
method on Tables.
Required Methods
fn timespans(&self, zone_name: &str) -> Option<FixedTimespanSet>
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.
Implementors
impl TableTransitions for Table