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.
    Instances For

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

      Instances For

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

        Instances For

          Extracts a timezone ID from a file path.

          Instances For

            Retrieves the timezone rules from the local timezone data file.

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

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

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