TimeZoneInfo.Transformer.RuleSet (TimeZoneInfo v0.7.8)
View SourceA rule set is a set of IANA rules with one entry per rule execution.
Summary
Functions
Generates transitions for the given rule_set
.
Generates the transitions for the given zone_state
.
Types
@type rule() :: {TimeZoneInfo.gregorian_seconds(), {TimeZoneInfo.time_standard(), Calendar.std_offset(), TimeZoneInfo.Transformer.Abbr.letters()}}
@type t() :: [rule()]
Functions
@spec transitions(t(), Calendar.utc_offset(), TimeZoneInfo.Transformer.Abbr.format()) :: [ TimeZoneInfo.transition() ]
Generates transitions for the given rule_set
.
@spec transitions( t(), TimeZoneInfo.gregorian_seconds(), TimeZoneInfo.IanaParser.zone_state(), Calendar.utc_offset(), Calendar.std_offset(), rule() | nil, [TimeZoneInfo.transition()] ) :: {[TimeZoneInfo.transition()], TimeZoneInfo.gregorian_seconds(), Calendar.std_offset()}
Generates the transitions for the given zone_state
.