View Source Zoneinfo.Meta (zoneinfo v0.1.8)

Metadata derived from TZif information

The metadata here is mostly useful for checking the quality of the TZif files that were loaded.

Summary

Types

t()

Zoneinfo.Meta contains information about one time zone

Types

@type t() :: %Zoneinfo.Meta{
  earliest_record_utc: NaiveDateTime.t(),
  latest_record_utc: NaiveDateTime.t(),
  record_count: non_neg_integer(),
  time_zone: String.t(),
  tz_string: String.t() | nil
}

Zoneinfo.Meta contains information about one time zone

  • :time_zone - the name of the time zone
  • :tz_string - if a POSIX TZ string is available, this is it
  • :earliest_record_utc - the UTC time of the earliest time zone record
  • :latest_record_utc - the UTC time of the latest time zone record
  • :record_count -- the number of records