Home Reference Source
public class | source

ZoneRulesProvider

Static Method Summary

Static Public Methods
public static

getAvailableZoneIds(): string[]

Gets the set of available zone IDs.

public static

getRules(zoneId: string): ZoneRules

Gets the rules for the zone ID.

Static Public Methods

public static getAvailableZoneIds(): string[] source

Gets the set of available zone IDs.

These zone IDs are loaded and available for use by ZoneId.

Return:

string[]

a modifiable copy of the set of zone IDs, not null

public static getRules(zoneId: string): ZoneRules source

Gets the rules for the zone ID.

This returns the latest available rules for the zone ID.

This method relies on time-zone data provider files that are configured.

Params:

NameTypeAttributeDescription
zoneId string

Return:

ZoneRules