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/zonedbxtesting/tzfiles
5 // --output_dir /home/brian/src/AceTime/src/zonedbxtesting
6 // --tz_version 2024b
7 // --action zonedb
8 // --language arduino
9 // --scope extended
10 // --db_namespace zonedbxtesting
11 // --include_list include_list.txt
12 // --nocompress
13 // --start_year 1980
14 // --until_year 2200
15 //
16 // using the TZ Database files
17 //
18 // africa
19 // antarctica
20 // asia
21 // australasia
22 // backward
23 // etcetera
24 // europe
25 // northamerica
26 // southamerica
27 //
28 // from https://github.com/eggert/tz/releases/tag/2024b
29 //
30 // Supported Zones: 16 (15 zones, 1 links)
31 // Unsupported Zones: 580 (324 zones, 256 links)
32 //
33 // Requested Years: [1980,2200]
34 // Accurate Years: [1980,32767]
35 //
36 // Original Years: [1844,2087]
37 // Generated Years: [1945,2087]
38 // Lower/Upper Truncated: [True,False]
39 //
40 // Estimator Years: [1945,2090]
41 // Max Buffer Size: 7
42 //
43 // Records:
44 // Infos: 16
45 // Eras: 30
46 // Policies: 11
47 // Rules: 220
48 //
49 // Memory (8-bits):
50 // Context: 16
51 // Rules: 1980
52 // Policies: 33
53 // Eras: 330
54 // Zones: 195
55 // Links: 13
56 // Registry: 32
57 // Formats: 47
58 // Letters: 23
59 // Fragments: 0
60 // Names: 260 (original: 260)
61 // TOTAL: 2929
62 //
63 // Memory (32-bits):
64 // Context: 24
65 // Rules: 2640
66 // Policies: 88
67 // Eras: 480
68 // Zones: 360
69 // Links: 24
70 // Registry: 64
71 // Formats: 47
72 // Letters: 33
73 // Fragments: 0
74 // Names: 260 (original: 260)
75 // TOTAL: 4020
76 //
77 // DO NOT EDIT
78
79 #ifndef ACE_TIME_ZONEDBXTESTING_ZONE_POLICIES_H
80 #define ACE_TIME_ZONEDBXTESTING_ZONE_POLICIES_H
81
82 #include <zoneinfo/infos.h>
83
84 namespace ace_time {
85 namespace zonedbxtesting {
86
87 //---------------------------------------------------------------------------
88 // Supported policies: 11
89 //---------------------------------------------------------------------------
90
91 extern const extended::ZonePolicy kZonePolicyAus;
92 extern const extended::ZonePolicy kZonePolicyCanada;
93 extern const extended::ZonePolicy kZonePolicyEU;
94 extern const extended::ZonePolicy kZonePolicyEdm;
95 extern const extended::ZonePolicy kZonePolicyMorocco;
96 extern const extended::ZonePolicy kZonePolicyNamibia;
97 extern const extended::ZonePolicy kZonePolicyPort;
98 extern const extended::ZonePolicy kZonePolicyUS;
99 extern const extended::ZonePolicy kZonePolicyVanc;
100 extern const extended::ZonePolicy kZonePolicyWS;
101 extern const extended::ZonePolicy kZonePolicyWinn;
102
103
104 //---------------------------------------------------------------------------
105 // Unsupported policies: 123
106 //---------------------------------------------------------------------------
107
108 // AN {unused}
109 // AQ {unused}
110 // AS {unused}
111 // AT {unused}
112 // AV {unused}
113 // AW {unused}
114 // Albania {unused}
115 // Algeria {unused}
116 // Arg {unused}
117 // Armenia {unused}
118 // Austria {unused}
119 // Azer {unused}
120 // Barb {unused}
121 // Belgium {unused}
122 // Belize {unused}
123 // Bermuda {unused}
124 // Brazil {unused}
125 // Bulg {unused}
126 // C-Eur {unused}
127 // CA {unused}
128 // CO {unused}
129 // CR {unused}
130 // Chatham {unused}
131 // Chicago {unused}
132 // Chile {unused}
133 // Cook {unused}
134 // Cuba {unused}
135 // Cyprus {unused}
136 // Czech {unused}
137 // DR {unused}
138 // Denver {unused}
139 // Detroit {unused}
140 // Dhaka {unused}
141 // E-Eur {unused}
142 // E-EurAsia {unused}
143 // EUAsia {unused}
144 // Ecuador {unused}
145 // Egypt {unused}
146 // EgyptAsia {unused}
147 // Eire {unused}
148 // Falk {unused}
149 // Fiji {unused}
150 // Finland {unused}
151 // France {unused}
152 // GB-Eire {unused}
153 // Germany {unused}
154 // Greece {unused}
155 // Guam {unused}
156 // Guat {unused}
157 // HK {unused}
158 // Haiti {unused}
159 // Halifax {unused}
160 // Holiday {unused}
161 // Hond {unused}
162 // Hungary {unused}
163 // Indianapolis {unused}
164 // Iran {unused}
165 // Iraq {unused}
166 // Italy {unused}
167 // Japan {unused}
168 // Jordan {unused}
169 // Kyrgyz {unused}
170 // LH {unused}
171 // Latvia {unused}
172 // Lebanon {unused}
173 // Libya {unused}
174 // Louisville {unused}
175 // Macau {unused}
176 // Malta {unused}
177 // Marengo {unused}
178 // Mauritius {unused}
179 // Menominee {unused}
180 // Mexico {unused}
181 // Moldova {unused}
182 // Moncton {unused}
183 // Mongol {unused}
184 // NBorneo {unused}
185 // NC {unused}
186 // NT_YK {unused}
187 // NYC {unused}
188 // NZ {unused}
189 // Nic {unused}
190 // PRC {unused}
191 // Pakistan {unused}
192 // Palestine {unused}
193 // Para {unused}
194 // Perry {unused}
195 // Peru {unused}
196 // Phil {unused}
197 // Pike {unused}
198 // Poland {unused}
199 // Pulaski {unused}
200 // ROK {unused}
201 // Regina {unused}
202 // Romania {unused}
203 // Russia {unused}
204 // RussiaAsia {unused}
205 // SA {unused}
206 // Salv {unused}
207 // SanLuis {unused}
208 // Shang {unused}
209 // SovietZone {unused}
210 // Spain {unused}
211 // SpainAfrica {unused}
212 // StJohns {unused}
213 // Starke {unused}
214 // Sudan {unused}
215 // Swift {unused}
216 // Swiss {unused}
217 // Syria {unused}
218 // Taiwan {unused}
219 // Thule {unused}
220 // Tonga {unused}
221 // Toronto {unused}
222 // Troll {unused}
223 // Tunisia {unused}
224 // Turkey {unused}
225 // Uruguay {unused}
226 // Vanuatu {unused}
227 // Vincennes {unused}
228 // W-Eur {unused}
229 // Yukon {unused}
230 // Zion {unused}
231
232
233 //---------------------------------------------------------------------------
234 // Notable zone policies: 2
235 //---------------------------------------------------------------------------
236
237 // Morocco {SAVE '-1:00' is a negative DST}
238 // Namibia {
239 // LETTER 'CAT' not single character,
240 // LETTER 'WAT' not single character,
241 // SAVE '-1:00' is a negative DST,
242 // }
243
244
245 }
246 }
247
248 #endif