Table of Contents

Interface IZoneData

Namespace
Hegel.Temporal
Assembly
Hegel.dll

Where a zone source's data goes: what Loader(Action<string, IZoneData>)'s function is given to supply the zone it was asked for.

public interface IZoneData

Methods

Make name another name for the zone target.

void AddLink(string name, string target)

Parameters

name string

The link name.

target string

The name of the zone whose data applies.

AddOracle(string, ZoneOracle)

Add a zone by probing oracle.

void AddOracle(string name, ZoneOracle oracle)

Parameters

name string

The name the zone is drawn by.

oracle ZoneOracle

The function to probe and the years to probe it over.

AddTimeZone(TimeZoneInfo)

Add a zone that behaves as zone does, under its Id, which is also the object a draw of that name yields.

void AddTimeZone(TimeZoneInfo zone)

Parameters

zone TimeZoneInfo

The zone.

AddTzif(string, byte[])

Add a zone from the contents of a TZif file (RFC 9636, version 2 or later), such as one under /usr/share/zoneinfo.

void AddTzif(string name, byte[] tzif)

Parameters

name string

The name the zone is drawn by.

tzif byte[]

The file's contents.