UNPKG

@phensley/cldr-core

Version:
19 lines (18 loc) 511 B
import { MetaZoneType } from '@phensley/cldr-schema'; export interface ZoneInfo { timeZoneId: string; metaZoneId: MetaZoneType; dst: boolean; offset: number; } export declare class ZoneInfoCache { private zoneData; constructor(); get(epoch: number, timeZoneId: string): ZoneInfo; private getZoneData(zoneId); } export declare const zoneInfoCache: ZoneInfoCache; /** * Checks if this timezone id is an alias. */ export declare const substituteZoneAlias: (id: string) => string;