View Source TimeZoneInfo.Transformer (TimeZoneInfo v0.7.2)

The Transformer transfers the parsed IANA data into the required format for TimeZoneInfo.

Summary

Functions

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

Searching for rules used by time zones.

Types

@type version() :: String.t()

Functions

Link to this function

transform(iana_data, version, config)

View Source

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

@spec 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.