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

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

Link to this section Summary

Functions

Given a path to a zoneinfo file, or the binary data from a zoneinfo file, parse the timezone information inside, and return it as a Zone struct.

Link to this section Functions

Specs

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

Given a path to a zoneinfo file, or the binary data from a zoneinfo file, parse the timezone information inside, and return it as a Zone struct.