AceTime  2.3.0
Date and time classes for Arduino that support timezones from the TZ Database.
zone_registry.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 2023c
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/2023c
27 //
28 // Supported Zones: 448 (228 zones, 220 links)
29 // Unsupported Zones: 148 (122 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: 448
43 // Eras: 240
44 // Policies: 65
45 // Rules: 367
46 //
47 // Memory (8-bits):
48 // Context: 16
49 // Rules: 3303
50 // Policies: 195
51 // Eras: 2640
52 // Zones: 2964
53 // Links: 2860
54 // Registry: 896
55 // Formats: 467
56 // Letters: 29
57 // Fragments: 116
58 // Names: 4162 (original: 6534)
59 // TOTAL: 17648
60 //
61 // Memory (32-bits):
62 // Context: 24
63 // Rules: 4404
64 // Policies: 520
65 // Eras: 3840
66 // Zones: 5472
67 // Links: 5280
68 // Registry: 1792
69 // Formats: 467
70 // Letters: 41
71 // Fragments: 138
72 // Names: 4162 (original: 6534)
73 // TOTAL: 26140
74 //
75 // DO NOT EDIT
76 
77 #ifndef ACE_TIME_ZONEDB_ZONE_REGISTRY_H
78 #define ACE_TIME_ZONEDB_ZONE_REGISTRY_H
79 
80 #include <zoneinfo/infos.h>
81 
82 namespace ace_time {
83 namespace zonedb {
84 
85 // Zones
86 const uint16_t kZoneRegistrySize = 228;
87 extern const basic::ZoneInfo* const kZoneRegistry[228];
88 
89 // Zones and Links
90 const uint16_t kZoneAndLinkRegistrySize = 448;
91 extern const basic::ZoneInfo* const kZoneAndLinkRegistry[448];
92 
93 }
94 }
95 #endif