View Source TimeZoneInfo.Transformer.RuleSet (TimeZoneInfo v0.7.2)
A 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
.
Link to this function
transitions(rule_set, since, zone_state, last_utc_offset, last_std_offset, last_rule \\ nil, acc \\ [])
View Source@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
.