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/zonedbx/tzfiles
5 // --output_dir /home/brian/src/AceTime/src/zonedbx
6 // --tz_version 2024b
7 // --action zonedb
8 // --language arduino
9 // --scope extended
10 // --db_namespace zonedbx
11 // --start_year 2000
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: [2000,2200]
32 // Accurate Years: [2000,32767]
33 //
34 // Original Years: [1844,2087]
35 // Generated Years: [1950,2087]
36 // Lower/Upper Truncated: [True,False]
37 //
38 // Estimator Years: [1950,2090]
39 // Max Buffer Size: 7
40 //
41 // Records:
42 // Infos: 596
43 // Eras: 644
44 // Policies: 82
45 // Rules: 731
46 //
47 // Memory (8-bits):
48 // Context: 16
49 // Rules: 6579
50 // Policies: 246
51 // Eras: 7084
52 // Zones: 4407
53 // Links: 3341
54 // Registry: 1192
55 // Formats: 231
56 // Letters: 46
57 // Fragments: 150
58 // Names: 5649 (original: 9076)
59 // TOTAL: 28941
60 //
61 // Memory (32-bits):
62 // Context: 24
63 // Rules: 8772
64 // Policies: 656
65 // Eras: 10304
66 // Zones: 8136
67 // Links: 6168
68 // Registry: 2384
69 // Formats: 231
70 // Letters: 64
71 // Fragments: 178
72 // Names: 5649 (original: 9076)
73 // TOTAL: 42566
74 //
75 // DO NOT EDIT
76
77 #ifndef ACE_TIME_ZONEDBX_ZONE_POLICIES_H
78 #define ACE_TIME_ZONEDBX_ZONE_POLICIES_H
79
80 #include <zoneinfo/infos.h>
81
82 namespace ace_time {
83 namespace zonedbx {
84
85 //---------------------------------------------------------------------------
86 // Supported policies: 82
87 //---------------------------------------------------------------------------
88
89 extern const extended::ZonePolicy kZonePolicyAN;
90 extern const extended::ZonePolicy kZonePolicyAQ;
91 extern const extended::ZonePolicy kZonePolicyAS;
92 extern const extended::ZonePolicy kZonePolicyAT;
93 extern const extended::ZonePolicy kZonePolicyAV;
94 extern const extended::ZonePolicy kZonePolicyAW;
95 extern const extended::ZonePolicy kZonePolicyArg;
96 extern const extended::ZonePolicy kZonePolicyArmenia;
97 extern const extended::ZonePolicy kZonePolicyAus;
98 extern const extended::ZonePolicy kZonePolicyAzer;
99 extern const extended::ZonePolicy kZonePolicyBarb;
100 extern const extended::ZonePolicy kZonePolicyBelize;
101 extern const extended::ZonePolicy kZonePolicyBrazil;
102 extern const extended::ZonePolicy kZonePolicyCO;
103 extern const extended::ZonePolicy kZonePolicyCR;
104 extern const extended::ZonePolicy kZonePolicyCanada;
105 extern const extended::ZonePolicy kZonePolicyChatham;
106 extern const extended::ZonePolicy kZonePolicyChile;
107 extern const extended::ZonePolicy kZonePolicyCook;
108 extern const extended::ZonePolicy kZonePolicyCuba;
109 extern const extended::ZonePolicy kZonePolicyDhaka;
110 extern const extended::ZonePolicy kZonePolicyE_EurAsia;
111 extern const extended::ZonePolicy kZonePolicyEU;
112 extern const extended::ZonePolicy kZonePolicyEUAsia;
113 extern const extended::ZonePolicy kZonePolicyEcuador;
114 extern const extended::ZonePolicy kZonePolicyEgypt;
115 extern const extended::ZonePolicy kZonePolicyEire;
116 extern const extended::ZonePolicy kZonePolicyFalk;
117 extern const extended::ZonePolicy kZonePolicyFiji;
118 extern const extended::ZonePolicy kZonePolicyGuam;
119 extern const extended::ZonePolicy kZonePolicyGuat;
120 extern const extended::ZonePolicy kZonePolicyHK;
121 extern const extended::ZonePolicy kZonePolicyHaiti;
122 extern const extended::ZonePolicy kZonePolicyHoliday;
123 extern const extended::ZonePolicy kZonePolicyHond;
124 extern const extended::ZonePolicy kZonePolicyIran;
125 extern const extended::ZonePolicy kZonePolicyIraq;
126 extern const extended::ZonePolicy kZonePolicyJapan;
127 extern const extended::ZonePolicy kZonePolicyJordan;
128 extern const extended::ZonePolicy kZonePolicyKyrgyz;
129 extern const extended::ZonePolicy kZonePolicyLH;
130 extern const extended::ZonePolicy kZonePolicyLebanon;
131 extern const extended::ZonePolicy kZonePolicyLibya;
132 extern const extended::ZonePolicy kZonePolicyMacau;
133 extern const extended::ZonePolicy kZonePolicyMauritius;
134 extern const extended::ZonePolicy kZonePolicyMexico;
135 extern const extended::ZonePolicy kZonePolicyMoldova;
136 extern const extended::ZonePolicy kZonePolicyMoncton;
137 extern const extended::ZonePolicy kZonePolicyMongol;
138 extern const extended::ZonePolicy kZonePolicyMorocco;
139 extern const extended::ZonePolicy kZonePolicyNC;
140 extern const extended::ZonePolicy kZonePolicyNT_YK;
141 extern const extended::ZonePolicy kZonePolicyNZ;
142 extern const extended::ZonePolicy kZonePolicyNamibia;
143 extern const extended::ZonePolicy kZonePolicyNic;
144 extern const extended::ZonePolicy kZonePolicyPRC;
145 extern const extended::ZonePolicy kZonePolicyPakistan;
146 extern const extended::ZonePolicy kZonePolicyPalestine;
147 extern const extended::ZonePolicy kZonePolicyPara;
148 extern const extended::ZonePolicy kZonePolicyPeru;
149 extern const extended::ZonePolicy kZonePolicyPhil;
150 extern const extended::ZonePolicy kZonePolicyROK;
151 extern const extended::ZonePolicy kZonePolicyRussia;
152 extern const extended::ZonePolicy kZonePolicyRussiaAsia;
153 extern const extended::ZonePolicy kZonePolicySA;
154 extern const extended::ZonePolicy kZonePolicySalv;
155 extern const extended::ZonePolicy kZonePolicySanLuis;
156 extern const extended::ZonePolicy kZonePolicyStJohns;
157 extern const extended::ZonePolicy kZonePolicySudan;
158 extern const extended::ZonePolicy kZonePolicySyria;
159 extern const extended::ZonePolicy kZonePolicyTaiwan;
160 extern const extended::ZonePolicy kZonePolicyThule;
161 extern const extended::ZonePolicy kZonePolicyTonga;
162 extern const extended::ZonePolicy kZonePolicyTroll;
163 extern const extended::ZonePolicy kZonePolicyTunisia;
164 extern const extended::ZonePolicy kZonePolicyTurkey;
165 extern const extended::ZonePolicy kZonePolicyUS;
166 extern const extended::ZonePolicy kZonePolicyUruguay;
167 extern const extended::ZonePolicy kZonePolicyVanuatu;
168 extern const extended::ZonePolicy kZonePolicyWS;
169 extern const extended::ZonePolicy kZonePolicyWinn;
170 extern const extended::ZonePolicy kZonePolicyZion;
171
172
173 //---------------------------------------------------------------------------
174 // Unsupported policies: 52
175 //---------------------------------------------------------------------------
176
177 // Albania {unused}
178 // Algeria {unused}
179 // Austria {unused}
180 // Belgium {unused}
181 // Bermuda {unused}
182 // Bulg {unused}
183 // C-Eur {unused}
184 // CA {unused}
185 // Chicago {unused}
186 // Cyprus {unused}
187 // Czech {unused}
188 // DR {unused}
189 // Denver {unused}
190 // Detroit {unused}
191 // E-Eur {unused}
192 // Edm {unused}
193 // EgyptAsia {unused}
194 // Finland {unused}
195 // France {unused}
196 // GB-Eire {unused}
197 // Germany {unused}
198 // Greece {unused}
199 // Halifax {unused}
200 // Hungary {unused}
201 // Indianapolis {unused}
202 // Italy {unused}
203 // Latvia {unused}
204 // Louisville {unused}
205 // Malta {unused}
206 // Marengo {unused}
207 // Menominee {unused}
208 // NBorneo {unused}
209 // NYC {unused}
210 // Perry {unused}
211 // Pike {unused}
212 // Poland {unused}
213 // Port {unused}
214 // Pulaski {unused}
215 // Regina {unused}
216 // Romania {unused}
217 // Shang {unused}
218 // SovietZone {unused}
219 // Spain {unused}
220 // SpainAfrica {unused}
221 // Starke {unused}
222 // Swift {unused}
223 // Swiss {unused}
224 // Toronto {unused}
225 // Vanc {unused}
226 // Vincennes {unused}
227 // W-Eur {unused}
228 // Yukon {unused}
229
230
231 //---------------------------------------------------------------------------
232 // Notable zone policies: 9
233 //---------------------------------------------------------------------------
234
235 // Belize {LETTER 'CST' not single character}
236 // Eire {SAVE '-1:00' is a negative DST}
237 // LH {SAVE '0:30' different from 1:00}
238 // Moncton {AT '0:01' not multiple of :15 min}
239 // Morocco {SAVE '-1:00' is a negative DST}
240 // Namibia {
241 // LETTER 'CAT' not single character,
242 // LETTER 'WAT' not single character,
243 // SAVE '-1:00' is a negative DST,
244 // }
245 // Palestine {AT '0:01' not multiple of :15 min}
246 // StJohns {
247 // AT '0:01' not multiple of :15 min,
248 // LETTER 'DD' not single character,
249 // SAVE '2:00' different from 1:00,
250 // }
251 // Troll {
252 // LETTER '+00' not single character,
253 // LETTER '+02' not single character,
254 // SAVE '2:00' different from 1:00,
255 // }
256
257
258 }
259 }
260
261 #endif