AceTime 2.4.0 Date and time classes for Arduino that support timezones from the TZ Database.

zone_policies.h
1 // This file was generated by the following script:
2 //
3 // $ /home/brian/src/AceTimeTools/src/acetimetools/tzcompiler.py
4 // --input_dir /home/brian/src/AceTime/src/zonedbc/tzfiles
5 // --output_dir /home/brian/src/AceTime/src/zonedbc
6 // --tz_version 2024b
7 // --action zonedb
8 // --language arduino
9 // --scope complete
10 // --db_namespace zonedbc
11 // --start_year 1800
12 // --until_year 2200
13 //
14 // using the TZ Database files
15 //
16 // africa
17 // antarctica
18 // asia
19 // australasia
20 // backward
21 // etcetera
22 // europe
23 // northamerica
24 // southamerica
25 //
26 // from https://github.com/eggert/tz/releases/tag/2024b
27 //
28 // Supported Zones: 596 (339 zones, 257 links)
29 // Unsupported Zones: 0 (0 zones, 0 links)
30 //
31 // Requested Years: [1800,2200]
32 // Accurate Years: [-32767,32767]
33 //
34 // Original Years: [1844,2087]
35 // Generated Years: [1844,2087]
36 // Lower/Upper Truncated: [False,False]
37 //
38 // Estimator Years: [1800,2090]
39 // Max Buffer Size: 8
40 //
41 // Records:
42 // Infos: 596
43 // Eras: 1941
44 // Policies: 134
45 // Rules: 2231
46 //
47 // Memory (8-bits):
48 // Context: 16
49 // Rules: 26772
50 // Policies: 402
51 // Eras: 29115
52 // Zones: 4407
53 // Links: 3341
54 // Registry: 1192
55 // Formats: 486
56 // Letters: 160
57 // Fragments: 150
58 // Names: 5649 (original: 9076)
59 // TOTAL: 71690
60 //
61 // Memory (32-bits):
62 // Context: 24
63 // Rules: 26772
64 // Policies: 1072
65 // Eras: 38820
66 // Zones: 8136
67 // Links: 6168
68 // Registry: 2384
69 // Formats: 486
70 // Letters: 216
71 // Fragments: 178
72 // Names: 5649 (original: 9076)
73 // TOTAL: 89905
74 //
75 // DO NOT EDIT
76
77 #ifndef ACE_TIME_ZONEDBC_ZONE_POLICIES_H
78 #define ACE_TIME_ZONEDBC_ZONE_POLICIES_H
79
80 #include <zoneinfo/infos.h>
81
82 namespace ace_time {
83 namespace zonedbc {
84
85 //---------------------------------------------------------------------------
86 // Supported policies: 134
87 //---------------------------------------------------------------------------
88
89 extern const complete::ZonePolicy kZonePolicyAN;
90 extern const complete::ZonePolicy kZonePolicyAQ;
91 extern const complete::ZonePolicy kZonePolicyAS;
92 extern const complete::ZonePolicy kZonePolicyAT;
93 extern const complete::ZonePolicy kZonePolicyAV;
94 extern const complete::ZonePolicy kZonePolicyAW;
95 extern const complete::ZonePolicy kZonePolicyAlbania;
96 extern const complete::ZonePolicy kZonePolicyAlgeria;
97 extern const complete::ZonePolicy kZonePolicyArg;
98 extern const complete::ZonePolicy kZonePolicyArmenia;
99 extern const complete::ZonePolicy kZonePolicyAus;
100 extern const complete::ZonePolicy kZonePolicyAustria;
101 extern const complete::ZonePolicy kZonePolicyAzer;
102 extern const complete::ZonePolicy kZonePolicyBarb;
103 extern const complete::ZonePolicy kZonePolicyBelgium;
104 extern const complete::ZonePolicy kZonePolicyBelize;
105 extern const complete::ZonePolicy kZonePolicyBermuda;
106 extern const complete::ZonePolicy kZonePolicyBrazil;
107 extern const complete::ZonePolicy kZonePolicyBulg;
108 extern const complete::ZonePolicy kZonePolicyC_Eur;
109 extern const complete::ZonePolicy kZonePolicyCA;
110 extern const complete::ZonePolicy kZonePolicyCO;
111 extern const complete::ZonePolicy kZonePolicyCR;
112 extern const complete::ZonePolicy kZonePolicyCanada;
113 extern const complete::ZonePolicy kZonePolicyChatham;
114 extern const complete::ZonePolicy kZonePolicyChicago;
115 extern const complete::ZonePolicy kZonePolicyChile;
116 extern const complete::ZonePolicy kZonePolicyCook;
117 extern const complete::ZonePolicy kZonePolicyCuba;
118 extern const complete::ZonePolicy kZonePolicyCyprus;
119 extern const complete::ZonePolicy kZonePolicyCzech;
120 extern const complete::ZonePolicy kZonePolicyDR;
121 extern const complete::ZonePolicy kZonePolicyDenver;
122 extern const complete::ZonePolicy kZonePolicyDetroit;
123 extern const complete::ZonePolicy kZonePolicyDhaka;
124 extern const complete::ZonePolicy kZonePolicyE_Eur;
125 extern const complete::ZonePolicy kZonePolicyE_EurAsia;
126 extern const complete::ZonePolicy kZonePolicyEU;
127 extern const complete::ZonePolicy kZonePolicyEUAsia;
128 extern const complete::ZonePolicy kZonePolicyEcuador;
129 extern const complete::ZonePolicy kZonePolicyEdm;
130 extern const complete::ZonePolicy kZonePolicyEgypt;
131 extern const complete::ZonePolicy kZonePolicyEgyptAsia;
132 extern const complete::ZonePolicy kZonePolicyEire;
133 extern const complete::ZonePolicy kZonePolicyFalk;
134 extern const complete::ZonePolicy kZonePolicyFiji;
135 extern const complete::ZonePolicy kZonePolicyFinland;
136 extern const complete::ZonePolicy kZonePolicyFrance;
137 extern const complete::ZonePolicy kZonePolicyGB_Eire;
138 extern const complete::ZonePolicy kZonePolicyGermany;
139 extern const complete::ZonePolicy kZonePolicyGreece;
140 extern const complete::ZonePolicy kZonePolicyGuam;
141 extern const complete::ZonePolicy kZonePolicyGuat;
142 extern const complete::ZonePolicy kZonePolicyHK;
143 extern const complete::ZonePolicy kZonePolicyHaiti;
144 extern const complete::ZonePolicy kZonePolicyHalifax;
145 extern const complete::ZonePolicy kZonePolicyHoliday;
146 extern const complete::ZonePolicy kZonePolicyHond;
147 extern const complete::ZonePolicy kZonePolicyHungary;
148 extern const complete::ZonePolicy kZonePolicyIndianapolis;
149 extern const complete::ZonePolicy kZonePolicyIran;
150 extern const complete::ZonePolicy kZonePolicyIraq;
151 extern const complete::ZonePolicy kZonePolicyItaly;
152 extern const complete::ZonePolicy kZonePolicyJapan;
153 extern const complete::ZonePolicy kZonePolicyJordan;
154 extern const complete::ZonePolicy kZonePolicyKyrgyz;
155 extern const complete::ZonePolicy kZonePolicyLH;
156 extern const complete::ZonePolicy kZonePolicyLatvia;
157 extern const complete::ZonePolicy kZonePolicyLebanon;
158 extern const complete::ZonePolicy kZonePolicyLibya;
159 extern const complete::ZonePolicy kZonePolicyLouisville;
160 extern const complete::ZonePolicy kZonePolicyMacau;
161 extern const complete::ZonePolicy kZonePolicyMalta;
162 extern const complete::ZonePolicy kZonePolicyMarengo;
163 extern const complete::ZonePolicy kZonePolicyMauritius;
164 extern const complete::ZonePolicy kZonePolicyMenominee;
165 extern const complete::ZonePolicy kZonePolicyMexico;
166 extern const complete::ZonePolicy kZonePolicyMoldova;
167 extern const complete::ZonePolicy kZonePolicyMoncton;
168 extern const complete::ZonePolicy kZonePolicyMongol;
169 extern const complete::ZonePolicy kZonePolicyMorocco;
170 extern const complete::ZonePolicy kZonePolicyNBorneo;
171 extern const complete::ZonePolicy kZonePolicyNC;
172 extern const complete::ZonePolicy kZonePolicyNT_YK;
173 extern const complete::ZonePolicy kZonePolicyNYC;
174 extern const complete::ZonePolicy kZonePolicyNZ;
175 extern const complete::ZonePolicy kZonePolicyNamibia;
176 extern const complete::ZonePolicy kZonePolicyNic;
177 extern const complete::ZonePolicy kZonePolicyPRC;
178 extern const complete::ZonePolicy kZonePolicyPakistan;
179 extern const complete::ZonePolicy kZonePolicyPalestine;
180 extern const complete::ZonePolicy kZonePolicyPara;
181 extern const complete::ZonePolicy kZonePolicyPerry;
182 extern const complete::ZonePolicy kZonePolicyPeru;
183 extern const complete::ZonePolicy kZonePolicyPhil;
184 extern const complete::ZonePolicy kZonePolicyPike;
185 extern const complete::ZonePolicy kZonePolicyPoland;
186 extern const complete::ZonePolicy kZonePolicyPort;
187 extern const complete::ZonePolicy kZonePolicyPulaski;
188 extern const complete::ZonePolicy kZonePolicyROK;
189 extern const complete::ZonePolicy kZonePolicyRegina;
190 extern const complete::ZonePolicy kZonePolicyRomania;
191 extern const complete::ZonePolicy kZonePolicyRussia;
192 extern const complete::ZonePolicy kZonePolicyRussiaAsia;
193 extern const complete::ZonePolicy kZonePolicySA;
194 extern const complete::ZonePolicy kZonePolicySalv;
195 extern const complete::ZonePolicy kZonePolicySanLuis;
196 extern const complete::ZonePolicy kZonePolicyShang;
197 extern const complete::ZonePolicy kZonePolicySovietZone;
198 extern const complete::ZonePolicy kZonePolicySpain;
199 extern const complete::ZonePolicy kZonePolicySpainAfrica;
200 extern const complete::ZonePolicy kZonePolicyStJohns;
201 extern const complete::ZonePolicy kZonePolicyStarke;
202 extern const complete::ZonePolicy kZonePolicySudan;
203 extern const complete::ZonePolicy kZonePolicySwift;
204 extern const complete::ZonePolicy kZonePolicySwiss;
205 extern const complete::ZonePolicy kZonePolicySyria;
206 extern const complete::ZonePolicy kZonePolicyTaiwan;
207 extern const complete::ZonePolicy kZonePolicyThule;
208 extern const complete::ZonePolicy kZonePolicyTonga;
209 extern const complete::ZonePolicy kZonePolicyToronto;
210 extern const complete::ZonePolicy kZonePolicyTroll;
211 extern const complete::ZonePolicy kZonePolicyTunisia;
212 extern const complete::ZonePolicy kZonePolicyTurkey;
213 extern const complete::ZonePolicy kZonePolicyUS;
214 extern const complete::ZonePolicy kZonePolicyUruguay;
215 extern const complete::ZonePolicy kZonePolicyVanc;
216 extern const complete::ZonePolicy kZonePolicyVanuatu;
217 extern const complete::ZonePolicy kZonePolicyVincennes;
218 extern const complete::ZonePolicy kZonePolicyW_Eur;
219 extern const complete::ZonePolicy kZonePolicyWS;
220 extern const complete::ZonePolicy kZonePolicyWinn;
221 extern const complete::ZonePolicy kZonePolicyYukon;
222 extern const complete::ZonePolicy kZonePolicyZion;
223
224
225 //---------------------------------------------------------------------------
226 // Unsupported policies: 0
227 //---------------------------------------------------------------------------
228
229
230
231 //---------------------------------------------------------------------------
232 // Notable zone policies: 27
233 //---------------------------------------------------------------------------
234
235 // Barb {SAVE '0:30' different from 1:00}
236 // Belize {
237 // LETTER '-0530' not single character,
238 // LETTER 'CDT' not single character,
239 // LETTER 'CPT' not single character,
240 // LETTER 'CST' not single character,
241 // LETTER 'CWT' not single character,
242 // SAVE '0:30' different from 1:00,
243 // }
244 // CA {AT '2:01' not multiple of :15 min}
245 // Cook {SAVE '0:30' different from 1:00}
246 // DR {
247 // LETTER '-0430' not single character,
248 // LETTER 'EDT' not single character,
249 // LETTER 'EST' not single character,
250 // SAVE '0:30' different from 1:00,
251 // }
252 // Eire {SAVE '-1:00' is a negative DST}
253 // France {SAVE '2:00' different from 1:00}
254 // GB-Eire {
255 // LETTER 'BDST' not single character,
256 // LETTER 'BST' not single character,
257 // LETTER 'GMT' not single character,
258 // SAVE '2:00' different from 1:00,
259 // }
260 // Germany {SAVE '2:00' different from 1:00}
261 // Guam {
262 // AT '0:01' not multiple of :15 min,
263 // AT '2:01' not multiple of :15 min,
264 // }
265 // LH {SAVE '0:30' different from 1:00}
266 // Louisville {AT '0:01' not multiple of :15 min}
267 // Moncton {AT '0:01' not multiple of :15 min}
268 // Morocco {SAVE '-1:00' is a negative DST}
269 // NBorneo {SAVE '0:20' different from 1:00}
270 // NZ {SAVE '0:30' different from 1:00}
271 // Namibia {
272 // LETTER 'CAT' not single character,
273 // LETTER 'WAT' not single character,
274 // SAVE '-1:00' is a negative DST,
275 // }
276 // Palestine {AT '0:01' not multiple of :15 min}
277 // Port {SAVE '2:00' different from 1:00}
278 // Russia {
279 // LETTER '+05' not single character,
280 // LETTER 'MDST' not single character,
281 // LETTER 'MMT' not single character,
282 // LETTER 'MSD' not single character,
283 // LETTER 'MSK' not single character,
284 // LETTER 'MST' not single character,
285 // SAVE '2:00' different from 1:00,
286 // }
287 // SovietZone {SAVE '2:00' different from 1:00}
288 // Spain {SAVE '2:00' different from 1:00}
289 // StJohns {
290 // AT '0:01' not multiple of :15 min,
291 // LETTER 'DD' not single character,
292 // SAVE '2:00' different from 1:00,
293 // }
294 // Troll {
295 // LETTER '+00' not single character,
296 // LETTER '+02' not single character,
297 // SAVE '2:00' different from 1:00,
298 // }
299 // Uruguay {
300 // SAVE '0:30' different from 1:00,
301 // SAVE '1:30' different from 1:00,
302 // }
303 // Yukon {
304 // LETTER 'DD' not single character,
305 // SAVE '2:00' different from 1:00,
306 // }
307 // Zion {
308 // LETTER 'DD' not single character,
309 // SAVE '2:00' different from 1:00,
310 // }
311
312
313 }
314 }
315
316 #endif