TimeZoneInfo.Transformer (TimeZoneInfo v0.6.0) 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

Specs

version() :: String.t()

Link to this section Functions

Link to this function

transform(iana_data, version, config)

View Source

Specs

Transforms the iana_data into a map of type TimeZoneInfo.data().

Specs

used_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.