time_zone_info v0.3.0 TimeZoneInfo.Transformer View Source
The Transformer
transfers the parsed IANA data into the required format for
TimeZoneInfo
.
Link to this section Summary
Functions
Transforms the iana_data
into a map of type TimeZoneInfo.data()
.
Searching for rules used by time zones.
Link to this section Types
Link to this section Functions
Link to this function
transform(iana_data, version, opts \\ [lookahead: 15])
View Sourcetransform(TimeZoneInfo.IanaParser.output(), version :: String.t(), opts()) :: TimeZoneInfo.data()
Transforms the iana_data
into a map of type TimeZoneInfo.data()
.
Link to this function
used_rules(time_zones)
View Sourceused_rules(%{required(Calendar.time_zone()) => [TimeZoneInfo.transition()]}) :: [TimeZoneInfo.rule_name()]
Searching for rules used by time zones.
A rule can just emit on the head of a transition list.