-
Notifications
You must be signed in to change notification settings - Fork 35
/
index.d.ts
49 lines (46 loc) · 928 Bytes
/
index.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
interface Options {
fallbackFn: (date: any) => Date;
}
interface DateHoldingGlobal {
Date: typeof Date;
}
export type TimeZone =
'Australia/Adelaide' |
'Brazil/East' |
'Europe/London' |
'US/Eastern' |
'US/Pacific' |
'UTC' |
'Etc/GMT+12' |
'Etc/GMT+11' |
'Etc/GMT+10' |
'Etc/GMT+9' |
'Etc/GMT+8' |
'Etc/GMT+7' |
'Etc/GMT+6' |
'Etc/GMT+5' |
'Etc/GMT+4' |
'Etc/GMT+3' |
'Etc/GMT+2' |
'Etc/GMT+1' |
'Etc/GMT+0' |
'Etc/GMT' |
'Etc/GMT-0' |
'Etc/GMT-1' |
'Etc/GMT-2' |
'Etc/GMT-3' |
'Etc/GMT-4' |
'Etc/GMT-5' |
'Etc/GMT-6' |
'Etc/GMT-7' |
'Etc/GMT-8' |
'Etc/GMT-9' |
'Etc/GMT-10' |
'Etc/GMT-11' |
'Etc/GMT-12' |
'Etc/GMT-13' |
'Etc/GMT-14';
export function options(options: Options): void;
export function register(zone: TimeZone, glob?: DateHoldingGlobal): void;
export function unregister(glob?: DateHoldingGlobal): void;
export const _Date: typeof Date;