datezone
Version:
A lightweight and comprehensive date and timeZone utility library for JavaScript.
5 lines • 432 B
TypeScript
export declare const dtfCache: Map<string, Map<string, Intl.DateTimeFormat>>;
export declare function getOptionsKey(opts: Intl.DateTimeFormatOptions): string;
export declare function getCachedFormatter(timeZone: string, opts: Intl.DateTimeFormatOptions): Intl.DateTimeFormat;
export declare function getCachedFormatterLocale(locale: string, opts: Intl.DateTimeFormatOptions): Intl.DateTimeFormat;
//# sourceMappingURL=cache.d.ts.map