timex v3.1.18 Timex.Parse.ZoneInfo.Parser 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

Link to this function parse(path) View Source
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.