TimezoneIDs.h
1 // Copyright (c) 2016 Digital Barriers
4 
17 #pragma once
18 
19 #include <list>
20 
21 // Build a static std::list<std::string> of the TimezoneIDs that are permitted
22 // This will be checked to avoid SDK consumers from setting incorrect timezones
23 
24 static const std::vector<std::wstring> valid_timezone_ids = {
25 
26  // (UTC - 12:00)
27  L"Dateline Standard Time",
28  // (UTC - 11:00)
29  L"UTC - 11",
30  // (UTC - 10:00)
31  L"Hawaiian Standard Time",
32  // (UTC - 09:00)
33  L"Alaskan Standard Time",
34  // (UTC - 08:00)
35  L"Pacific Standard Time",
36  L"Pacific Standard Time(Mexico)",
37  // (UTC - 07:00)
38  L"Mexico Standard Time 2",
39  L"Mountain Standard Time",
40  L"Mountain Standard Time(Mexico)",
41  L"US Mountain Standard Time",
42  // (UTC - 06:00)
43  L"Canada Central Standard Time",
44  L"Central America Standard Time",
45  L"Central Standard Time",
46  L"Central Standard Time(Mexico)",
47  L"Mexico Standard Time",
48  // (UTC - 05:00)
49  L"Eastern Standard Time",
50  L"SA Pacific Standard Time",
51  L"US Eastern Standard Time",
52  // (UTC - 04:30)
53  L"Venezuela Standard Time",
54  // (UTC - 04:00)
55  L"Atlantic Standard Time",
56  L"Central Brazilian Standard Time",
57  L"Pacific SA Standard Time",
58  L"Paraguay Standard Time",
59  L"SA Western Standard Time",
60  // (UTC - 03:30)
61  L"Newfoundland Standard Time",
62  // (UTC - 03:00)
63  L"Argentina Standard Time",
64  L"E.South America Standard Time",
65  L"Greenland Standard Time",
66  L"Montevideo Standard Time",
67  L"SA Eastern Standard Time",
68  // (UTC - 02:00)
69  L"Mid - Atlantic Standard Time",
70  L"UTC - 02",
71  // (UTC - 01:00)
72  L"Azores Standard Time"
73  L"Cape Verde Standard Time",
74  // (UTC)
75  L"GMT Standard Time",
76  L"Greenwich Standard Time",
77  L"Morocco Standard Time",
78  L"UTC",
79  // (UTC + 01:00)
80  L"Central Europe Standard Time",
81  L"Romance Standard Time",
82  L"W.Central Africa Standard Time",
83  L"W.Europe Standard Time",
84  // (UTC + 02:00)
85  L"E.Europe Standard Time",
86  L"Egypt Standard Time",
87  L"FLE Standard Time",
88  L"GTB Standard Time",
89  L"Israel Standard Time",
90  L"Jordan Standard Time",
91  L"Middle East Standard Time",
92  L"Namibia Standard Time",
93  L"South Africa Standard Time",
94  // (UTC + 03:00)
95  L"Arab Standard Time",
96  L"Arabic Standard Time",
97  L"Kaliningrad Standard Time",
98  L"E.Africa Standard Time",
99  L"Russian Standard Time",
100  // (UTC + 03:30)
101  L"Iran Standard Time",
102  // (UTC + 04:00)
103  L"Arabian Standard Time",
104  L"Armenian Standard Time",
105  L"Caucasus Standard Time",
106  L"Azerbaijan Standard Time",
107  L"Georgian Standard Time",
108  L"Mauritius Standard Time",
109  // (UTC + 04:30)
110  L"Afghanistan Standard Time",
111  // (UTC + 05:00)
112  L"Ekaterinburg Standard Time",
113  L"Pakistan Standard Time",
114  L"West Asia Standard Time",
115  // (UTC + 05:30)
116  L"India Standard Time",
117  L"Sri Lanka Standard Time",
118  // (UTC + 05:45)
119  L"Nepal Standard Time",
120  // (UTC + 06:00)
121  L"Bangladesh Standard Time",
122  L"Central Asia Standard Time",
123  // (UTC + 06:30)
124  L"Myanmar Standard Time",
125  // (UTC + 07:00)
126  L"N.Central Asia Standard Time",
127  L"North Asia Standard Time",
128  // (UTC + 08:00)
129  L"SE Asia Standard Time",
130  L"China Standard Time",
131  L"North Asia East Standard Time",
132  L"Singapore Standard Time",
133  L"Taipei Standard Time",
134  L"Ulaanbaatar Standard Time",
135  L"W.Australia Standard Time",
136  // (UTC + 09:00)
137  L"Korea Standard Time",
138  L"Tokyo Standard Time",
139  L"Yakutsk Standard Time",
140  // (UTC + 09:30)
141  L"AUS Central Standard Time",
142  L"Cen.Australia Standard Time",
143  // (UTC + 10:00)
144  L"AUS Eastern Standard Time",
145  L"E.Australia Standard Time",
146  L"Tasmania Standard Time",
147  L"Vladivostok Standard Time",
148  L"West Pacific Standard Time",
149  // (UTC + 11:00)
150  L"Central Pacific Standard Time",
151  // (UTC + 12:00)
152  L"Kamchatka Standard Time",
153  L"Fiji Standard Time",
154  L"New Zealand Standard Time",
155  L"UTC + 12",
156  // (UTC + 13:00)
157  L"Tonga Standard Time",
158  L"Samoa Standard Time",
159  // Military timezones are also permitted
160  L"Military Time Zone X-ray", // UTC-11:00
161  L"Military Time Zone Whiskey", // UTC-10:00
162  L"Military Time Zone Victor", // UTC-09:00
163  L"Military Time Zone Uniform", // UTC-08:00
164  L"Military Time Zone Tango", // UTC-07:00
165  L"Military Time Zone Sierra", // UTC-06:00
166  L"Military Time Zone Romeo", // UTC-05:00
167  L"Military Time Zone Quebec", // UTC-04:00
168  L"Military Time Zone Papa", // UTC-03:00
169  L"Military Time Zone Oscar", // UTC-02:00
170  L"Military Time Zone November", // UTC-01:00
171  L"Military Time Zone Zulu", // UTC+/-00:00
172  L"Military Time Zone Alpha", // UTC+01:00
173  L"Military Time Zone Bravo", // UTC+02:00
174  L"Military Time Zone Charlie", // UTC+03:00
175  L"Military Time Zone Delta", // UTC+04:00
176  L"Military Time Zone Echo", // UTC+05:00
177  L"Military Time Zone Foxtrot", // UTC+06:00
178  L"Military Time Zone Golf", // UTC+07:00
179  L"Military Time Zone Hotel", // UTC+08:00
180  L"Military Time Zone India", // UTC+09:00
181  L"Military Time Zone Kilo", // UTC+10:00
182  L"Military Time Zone Lima", // UTC+11:00
183  L"Military Time Zone Mike" // UTC+12:00
184 };
185