View Source Timex.Parse.ZoneInfo.Parser (timex v3.7.11)

This module is responsible for parsing binary zoneinfo files, such as those found in /usr/local/zoneinfo.

Link to this section Summary

Functions

Parses a binary representing a valid zoneinfo file.

Like parse/1, but expects a file path to parse.

Link to this section Functions

@spec parse(binary()) ::
  {:ok, Timex.Parse.ZoneInfo.Parser.Zone.t()} | {:error, binary()}

Parses a binary representing a valid zoneinfo file.

Parses the timezone information inside, and returns it as a Zone struct.

Like parse/1, but expects a file path to parse.