View Source TimeZoneInfo.Transformer (TimeZoneInfo v0.6.5)

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

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

Link to this section 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.