UNPKG

chronoshift

Version:

A tiny library for shifting time with timezones

16 lines 586 B
import type { ImmutableClassInstance } from '../utils/utils'; export declare class Timezone implements ImmutableClassInstance<string, string> { static UTC: Timezone; private readonly timezone; static formatDateWithTimezone(d: Date, timezone?: Timezone): string; static fromJS(spec: string): Timezone; constructor(timezone: string); valueOf(): string; toJS(): string; toJSON(): string; toString(): string; equals(other: Timezone | undefined): boolean; isUTC(): boolean; toUtcOffsetString(): string; } //# sourceMappingURL=timezone.d.ts.map