summaryrefslogtreecommitdiffstats
path: root/js/src/builtin/IntlTimeZoneData.h
blob: 1612f0f6be5f2382f14b16ebaea2b5c7f9944605 (plain)
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
// Generated by make_intl_data.py. DO NOT EDIT.
// tzdata version = 2019c

#ifndef builtin_IntlTimeZoneData_h
#define builtin_IntlTimeZoneData_h

namespace js {
namespace timezone {

// Format:
// "ZoneName" // ICU-Name [time zone file]
const char* const ianaZonesTreatedAsLinksByICU[] = {
    "Africa/Asmara", // Africa/Asmera [backzone]
    "Africa/Timbuktu", // Africa/Bamako [backzone]
    "America/Argentina/Buenos_Aires", // America/Buenos_Aires [southamerica]
    "America/Argentina/Catamarca", // America/Catamarca [southamerica]
    "America/Argentina/ComodRivadavia", // America/Catamarca [backzone]
    "America/Argentina/Cordoba", // America/Cordoba [southamerica]
    "America/Argentina/Jujuy", // America/Jujuy [southamerica]
    "America/Argentina/Mendoza", // America/Mendoza [southamerica]
    "America/Atikokan", // America/Coral_Harbour [northamerica]
    "America/Ensenada", // America/Tijuana [backzone]
    "America/Indiana/Indianapolis", // America/Indianapolis [northamerica]
    "America/Kentucky/Louisville", // America/Louisville [northamerica]
    "America/Rosario", // America/Cordoba [backzone]
    "Asia/Chongqing", // Asia/Shanghai [backzone]
    "Asia/Harbin", // Asia/Shanghai [backzone]
    "Asia/Ho_Chi_Minh", // Asia/Saigon [asia]
    "Asia/Kashgar", // Asia/Urumqi [backzone]
    "Asia/Kathmandu", // Asia/Katmandu [asia]
    "Asia/Kolkata", // Asia/Calcutta [asia]
    "Asia/Tel_Aviv", // Asia/Jerusalem [backzone]
    "Asia/Yangon", // Asia/Rangoon [asia]
    "Atlantic/Faroe", // Atlantic/Faeroe [europe]
    "Atlantic/Jan_Mayen", // Arctic/Longyearbyen [backzone]
    "EST", // Etc/GMT+5 [northamerica]
    "Europe/Belfast", // Europe/London [backzone]
    "Europe/Tiraspol", // Europe/Chisinau [backzone]
    "HST", // Etc/GMT+10 [northamerica]
    "MST", // Etc/GMT+7 [northamerica]
    "Pacific/Chuuk", // Pacific/Truk [australasia]
    "Pacific/Pohnpei", // Pacific/Ponape [australasia]
};

// Format:
// "LinkName", "Target" // ICU-Target [time zone file]
struct LinkAndTarget
{
    const char* const link;
    const char* const target;
};

const LinkAndTarget ianaLinksCanonicalizedDifferentlyByICU[] = {
    { "Africa/Asmera", "Africa/Asmara" }, // Africa/Asmera [backward]
    { "America/Buenos_Aires", "America/Argentina/Buenos_Aires" }, // America/Buenos_Aires [backward]
    { "America/Catamarca", "America/Argentina/Catamarca" }, // America/Catamarca [backward]
    { "America/Cordoba", "America/Argentina/Cordoba" }, // America/Cordoba [backward]
    { "America/Fort_Wayne", "America/Indiana/Indianapolis" }, // America/Indianapolis [backward]
    { "America/Indianapolis", "America/Indiana/Indianapolis" }, // America/Indianapolis [backward]
    { "America/Jujuy", "America/Argentina/Jujuy" }, // America/Jujuy [backward]
    { "America/Kralendijk", "America/Curacao" }, // America/Kralendijk [southamerica]
    { "America/Louisville", "America/Kentucky/Louisville" }, // America/Louisville [backward]
    { "America/Lower_Princes", "America/Curacao" }, // America/Lower_Princes [southamerica]
    { "America/Marigot", "America/Port_of_Spain" }, // America/Marigot [southamerica]
    { "America/Mendoza", "America/Argentina/Mendoza" }, // America/Mendoza [backward]
    { "America/Santa_Isabel", "America/Tijuana" }, // America/Santa_Isabel [backward]
    { "America/St_Barthelemy", "America/Port_of_Spain" }, // America/St_Barthelemy [southamerica]
    { "America/Virgin", "America/Port_of_Spain" }, // America/St_Thomas [backward]
    { "Antarctica/South_Pole", "Antarctica/McMurdo" }, // Pacific/Auckland [backward]
    { "Arctic/Longyearbyen", "Europe/Oslo" }, // Arctic/Longyearbyen [europe]
    { "Asia/Calcutta", "Asia/Kolkata" }, // Asia/Calcutta [backward]
    { "Asia/Chungking", "Asia/Chongqing" }, // Asia/Shanghai [backward]
    { "Asia/Katmandu", "Asia/Kathmandu" }, // Asia/Katmandu [backward]
    { "Asia/Rangoon", "Asia/Yangon" }, // Asia/Rangoon [backward]
    { "Asia/Saigon", "Asia/Ho_Chi_Minh" }, // Asia/Saigon [backward]
    { "Atlantic/Faeroe", "Atlantic/Faroe" }, // Atlantic/Faeroe [backward]
    { "Europe/Bratislava", "Europe/Prague" }, // Europe/Bratislava [europe]
    { "Europe/Busingen", "Europe/Zurich" }, // Europe/Busingen [europe]
    { "Europe/Mariehamn", "Europe/Helsinki" }, // Europe/Mariehamn [europe]
    { "Europe/Podgorica", "Europe/Belgrade" }, // Europe/Podgorica [europe]
    { "Europe/San_Marino", "Europe/Rome" }, // Europe/San_Marino [europe]
    { "Europe/Vatican", "Europe/Rome" }, // Europe/Vatican [europe]
    { "Pacific/Ponape", "Pacific/Pohnpei" }, // Pacific/Ponape [backward]
    { "Pacific/Truk", "Pacific/Chuuk" }, // Pacific/Truk [backward]
    { "Pacific/Yap", "Pacific/Chuuk" }, // Pacific/Truk [backward]
    { "US/East-Indiana", "America/Indiana/Indianapolis" }, // America/Indianapolis [backward]
};

// Legacy ICU time zones, these are not valid IANA time zone names. We also
// disallow the old and deprecated System V time zones.
// https://ssl.icu-project.org/repos/icu/trunk/icu4c/source/tools/tzcode/icuzones
const char* const legacyICUTimeZones[] = {
    "ACT",
    "AET",
    "AGT",
    "ART",
    "AST",
    "BET",
    "BST",
    "CAT",
    "CNT",
    "CST",
    "CTT",
    "Canada/East-Saskatchewan",
    "EAT",
    "ECT",
    "IET",
    "IST",
    "JST",
    "MIT",
    "NET",
    "NST",
    "PLT",
    "PNT",
    "PRT",
    "PST",
    "SST",
    "VST",
    "SystemV/AST4",
    "SystemV/AST4ADT",
    "SystemV/CST6",
    "SystemV/CST6CDT",
    "SystemV/EST5",
    "SystemV/EST5EDT",
    "SystemV/HST10",
    "SystemV/MST7",
    "SystemV/MST7MDT",
    "SystemV/PST8",
    "SystemV/PST8PDT",
    "SystemV/YST9",
    "SystemV/YST9YDT",
};

} // namespace timezone
} // namespace js

#endif /* builtin_IntlTimeZoneData_h */