Documentation

Std.Time.Zoned.Database.TZdb

Represents a Time Zone Database (TZdb) configuration with paths to local and general timezone data.

  • localPath : System.FilePath

    The path to the local timezone file. This is typically a symlink to a file within the timezone database that corresponds to the current local time zone.

  • zonesPaths : Array System.FilePath

    All the possible paths to the directories containing all available time zone files. These files define various time zones and their rules.

Instances For
@[inline]

Returns a default TZdb instance with common timezone data paths for most Linux distributions and macOS.

Equations
  • One or more equations did not get rendered due to their size.

Parses binary timezone data into zone rules based on a given timezone ID.

Equations

Reads a TZif file from disk and retrieves the zone rules for the specified timezone ID.

Equations
  • One or more equations did not get rendered due to their size.

Extracts a timezone ID from a file path.

Equations
  • One or more equations did not get rendered due to their size.

Retrieves the timezone rules from the local timezone data file.

Equations
  • One or more equations did not get rendered due to their size.

Reads timezone rules from disk based on the provided file path and timezone ID.

Equations
Equations
  • One or more equations did not get rendered due to their size.