interface ParsedDate { year: number; month: number; day: number; hour: number; minute: number; second: number; millisecond: number; weekday: number; } /** * Same as `Date.UTC()`, but years `0` to `99` are not taken as 1900 to 1999. * * @ignore */ export declare function utcTime(year: number, month: number, day: number, hour: number, minute: number, second: number, millisecond: number): number; /** * A named timezone, such as `"America/New_York"`, used for `root.timezone`. */ export declare class Timezone { private _dtf; private _offsets; /** * The IANA name of the timezone. */ readonly name: string | undefined; /** * Creates a timezone from its IANA name, such as `"America/New_York"`. * * @see {@link https://www.amcharts.com/docs/v5/getting-started/#New_element_syntax} for more info * @param timezone IANA timezone * @return Instantiated object */ static new>(this: C, timezone: string | undefined): T; constructor(timezone: string | undefined, isReal: boolean); /** * Returns a copy of `date` shifted so that its local time reads as the * time in this timezone. * * @param date Date * @return Shifted date */ convertLocal(date: Date): Date; /** * Returns the timezone's offset from UTC at `date`, in minutes, signed as * `Date.getTimezoneOffset()` is: positive west of UTC. * * @param date Date * @return Offset in minutes */ offsetUTC(date: Date): number; /** * The offset at `time`, worked out with Intl. */ protected _offsetAt(time: number): number; /** * Returns the parts of `date` as seen in this timezone: year, month (from * `0`), day, hour, minute, second, millisecond and weekday (`0` for * Sunday). * * @param date Date * @return Date parts */ parseDate(date: Date): ParsedDate; } export {}; //# sourceMappingURL=Timezone.d.ts.map