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/zonedb/tzfiles
5 // --output_dir /home/brian/src/AceTime/src/zonedb
6 // --tz_version 2024b
7 // --action zonedb
8 // --language arduino
9 // --scope basic
10 // --db_namespace zonedb
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: 447 (216 zones, 231 links)
29 // Unsupported Zones: 149 (123 zones, 26 links)
30 //
31 // Requested Years: [2000,2200]
32 // Accurate Years: [2000,32767]
33 //
34 // Original Years: [1844,2087]
35 // Generated Years: [1950,2023]
36 // Lower/Upper Truncated: [True,False]
37 //
38 // Estimator Years: [1950,2025]
39 // Max Buffer Size: 6
40 //
41 // Records:
42 // Infos: 447
43 // Eras: 228
44 // Policies: 64
45 // Rules: 363
46 //
47 // Memory (8-bits):
48 // Context: 16
49 // Rules: 3267
50 // Policies: 192
51 // Eras: 2508
52 // Zones: 2808
53 // Links: 3003
54 // Registry: 894
55 // Formats: 175
56 // Letters: 29
57 // Fragments: 116
58 // Names: 4152 (original: 6511)
59 // TOTAL: 17160
60 //
61 // Memory (32-bits):
62 // Context: 24
63 // Rules: 4356
64 // Policies: 512
65 // Eras: 3648
66 // Zones: 5184
67 // Links: 5544
68 // Registry: 1788
69 // Formats: 175
70 // Letters: 41
71 // Fragments: 138
72 // Names: 4152 (original: 6511)
73 // TOTAL: 25562
74 //
75 // DO NOT EDIT
76
77 #ifndef ACE_TIME_ZONEDB_ZONE_POLICIES_H
78 #define ACE_TIME_ZONEDB_ZONE_POLICIES_H
79
80 #include <zoneinfo/infos.h>
81
82 namespace ace_time {
83 namespace zonedb {
84
85 //---------------------------------------------------------------------------
86 // Supported policies: 64
87 //---------------------------------------------------------------------------
88
89 extern const basic::ZonePolicy kZonePolicyAN;
90 extern const basic::ZonePolicy kZonePolicyAQ;
91 extern const basic::ZonePolicy kZonePolicyAS;
92 extern const basic::ZonePolicy kZonePolicyAT;
93 extern const basic::ZonePolicy kZonePolicyAV;
94 extern const basic::ZonePolicy kZonePolicyAW;
95 extern const basic::ZonePolicy kZonePolicyArmenia;
96 extern const basic::ZonePolicy kZonePolicyAus;
97 extern const basic::ZonePolicy kZonePolicyAzer;
98 extern const basic::ZonePolicy kZonePolicyBarb;
99 extern const basic::ZonePolicy kZonePolicyBelize;
100 extern const basic::ZonePolicy kZonePolicyBrazil;
101 extern const basic::ZonePolicy kZonePolicyCO;
102 extern const basic::ZonePolicy kZonePolicyCR;
103 extern const basic::ZonePolicy kZonePolicyCanada;
104 extern const basic::ZonePolicy kZonePolicyChatham;
105 extern const basic::ZonePolicy kZonePolicyChile;
106 extern const basic::ZonePolicy kZonePolicyCook;
107 extern const basic::ZonePolicy kZonePolicyCuba;
108 extern const basic::ZonePolicy kZonePolicyDhaka;
109 extern const basic::ZonePolicy kZonePolicyEU;
110 extern const basic::ZonePolicy kZonePolicyEUAsia;
111 extern const basic::ZonePolicy kZonePolicyEcuador;
112 extern const basic::ZonePolicy kZonePolicyEire;
113 extern const basic::ZonePolicy kZonePolicyFiji;
114 extern const basic::ZonePolicy kZonePolicyGuat;
115 extern const basic::ZonePolicy kZonePolicyHK;
116 extern const basic::ZonePolicy kZonePolicyHaiti;
117 extern const basic::ZonePolicy kZonePolicyHoliday;
118 extern const basic::ZonePolicy kZonePolicyHond;
119 extern const basic::ZonePolicy kZonePolicyIran;
120 extern const basic::ZonePolicy kZonePolicyIraq;
121 extern const basic::ZonePolicy kZonePolicyJapan;
122 extern const basic::ZonePolicy kZonePolicyJordan;
123 extern const basic::ZonePolicy kZonePolicyLH;
124 extern const basic::ZonePolicy kZonePolicyLebanon;
125 extern const basic::ZonePolicy kZonePolicyMacau;
126 extern const basic::ZonePolicy kZonePolicyMauritius;
127 extern const basic::ZonePolicy kZonePolicyMexico;
128 extern const basic::ZonePolicy kZonePolicyMoldova;
129 extern const basic::ZonePolicy kZonePolicyMoncton;
130 extern const basic::ZonePolicy kZonePolicyMongol;
131 extern const basic::ZonePolicy kZonePolicyNC;
132 extern const basic::ZonePolicy kZonePolicyNZ;
133 extern const basic::ZonePolicy kZonePolicyNamibia;
134 extern const basic::ZonePolicy kZonePolicyNic;
135 extern const basic::ZonePolicy kZonePolicyPRC;
136 extern const basic::ZonePolicy kZonePolicyPakistan;
137 extern const basic::ZonePolicy kZonePolicyPara;
138 extern const basic::ZonePolicy kZonePolicyPeru;
139 extern const basic::ZonePolicy kZonePolicyPhil;
140 extern const basic::ZonePolicy kZonePolicyROK;
141 extern const basic::ZonePolicy kZonePolicyRussiaAsia;
142 extern const basic::ZonePolicy kZonePolicySA;
143 extern const basic::ZonePolicy kZonePolicySalv;
144 extern const basic::ZonePolicy kZonePolicyTaiwan;
145 extern const basic::ZonePolicy kZonePolicyThule;
146 extern const basic::ZonePolicy kZonePolicyTonga;
147 extern const basic::ZonePolicy kZonePolicyTunisia;
148 extern const basic::ZonePolicy kZonePolicyUS;
149 extern const basic::ZonePolicy kZonePolicyUruguay;
150 extern const basic::ZonePolicy kZonePolicyVanuatu;
151 extern const basic::ZonePolicy kZonePolicyWinn;
152 extern const basic::ZonePolicy kZonePolicyZion;
153
154
155 //---------------------------------------------------------------------------
156 // Unsupported policies: 70
157 //---------------------------------------------------------------------------
158
159 // Albania {unused}
160 // Algeria {unused}
161 // Arg {unused}
162 // Austria {unused}
163 // Belgium {unused}
164 // Bermuda {unused}
165 // Bulg {unused}
166 // C-Eur {unused}
167 // CA {unused}
168 // Chicago {unused}
169 // Cyprus {unused}
170 // Czech {unused}
171 // DR {unused}
172 // Denver {unused}
173 // Detroit {unused}
174 // E-Eur {unused}
175 // E-EurAsia {unused}
176 // Edm {unused}
177 // Egypt {Found 2 transitions in year/month '2010-09'}
178 // EgyptAsia {unused}
179 // Falk {unused}
180 // Finland {unused}
181 // France {unused}
182 // GB-Eire {unused}
183 // Germany {unused}
184 // Greece {unused}
185 // Guam {unused}
186 // Halifax {unused}
187 // Hungary {unused}
188 // Indianapolis {unused}
189 // Italy {unused}
190 // Kyrgyz {unused}
191 // Latvia {unused}
192 // Libya {unused}
193 // Louisville {unused}
194 // Malta {unused}
195 // Marengo {unused}
196 // Menominee {unused}
197 // Morocco {unused}
198 // NBorneo {unused}
199 // NT_YK {unused}
200 // NYC {unused}
201 // Palestine {Found 2 transitions in year/month '2074-10'}
202 // Perry {unused}
203 // Pike {unused}
204 // Poland {unused}
205 // Port {unused}
206 // Pulaski {unused}
207 // Regina {unused}
208 // Romania {unused}
209 // Russia {unused}
210 // SanLuis {unused}
211 // Shang {unused}
212 // SovietZone {unused}
213 // Spain {unused}
214 // SpainAfrica {unused}
215 // StJohns {unused}
216 // Starke {unused}
217 // Sudan {unused}
218 // Swift {unused}
219 // Swiss {unused}
220 // Syria {unused}
221 // Toronto {unused}
222 // Troll {unused}
223 // Turkey {unused}
224 // Vanc {unused}
225 // Vincennes {unused}
226 // W-Eur {unused}
227 // WS {unused}
228 // Yukon {unused}
229
230
231 //---------------------------------------------------------------------------
232 // Notable zone policies: 5
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 // Namibia {
240 // LETTER 'CAT' not single character,
241 // LETTER 'WAT' not single character,
242 // SAVE '-1:00' is a negative DST,
243 // }
244
245
246 }
247 }
248
249 #endif