AceTime  3.0.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/AceTimeSuite/compiler/src/acetimecompiler/tzcompiler.py
4 // --input_dir /home/brian/src/AceTimeSuite/libraries/AceTimeLib/src/zonedbx/tzfiles
5 // --output_dir /home/brian/src/AceTimeSuite/libraries/AceTimeLib/src/zonedbx
6 // --tz_version 2025b
7 // --action zonedb
8 // --language arduino
9 // --scope extended
10 // --db_namespace zonedbx
11 // --zi_namespace extended::Info
12 // --start_year 2000
13 // --until_year 2200
14 //
15 // using the TZ Database files
16 //
17 // africa
18 // antarctica
19 // asia
20 // australasia
21 // backward
22 // etcetera
23 // europe
24 // northamerica
25 // southamerica
26 //
27 // from https://github.com/eggert/tz/releases/tag/2025b
28 //
29 // Supported Zones: 597 (340 zones, 257 links)
30 // Unsupported Zones: 0 (0 zones, 0 links)
31 //
32 // Requested Years: [2000,2200]
33 // Accurate Years: [2000,32767]
34 //
35 // Original Years: [1844,2087]
36 // Generated Years: [1950,2087]
37 // Lower/Upper Truncated: [True,False]
38 //
39 // Estimator Years: [1950,2090]
40 // Max Buffer Size: 7
41 //
42 // Records:
43 // Infos: 597
44 // Eras: 647
45 // Policies: 82
46 // Rules: 731
47 //
48 // Memory (8-bits):
49 // Context: 16
50 // Rules: 6579
51 // Policies: 246
52 // Eras: 7117
53 // Zones: 4420
54 // Links: 3341
55 // Registry: 1194
56 // Formats: 231
57 // Letters: 46
58 // Fragments: 150
59 // Names: 5660 (original: 9094)
60 // TOTAL: 29000
61 //
62 // Memory (32-bits):
63 // Context: 24
64 // Rules: 8772
65 // Policies: 656
66 // Eras: 10352
67 // Zones: 8160
68 // Links: 6168
69 // Registry: 2388
70 // Formats: 231
71 // Letters: 64
72 // Fragments: 178
73 // Names: 5660 (original: 9094)
74 // TOTAL: 42653
75 //
76 // DO NOT EDIT
77 
78 #ifndef ACE_TIME_ZONEDBX_ZONE_REGISTRY_H
79 #define ACE_TIME_ZONEDBX_ZONE_REGISTRY_H
80 
81 #include <zoneinfo/infos.h>
82 
83 namespace ace_time {
84 namespace zonedbx {
85 
86 // Zones
87 const uint16_t kZoneRegistrySize = 340;
88 extern const extended::Info::ZoneInfo* const kZoneRegistry[340];
89 
90 // Zones and Links
91 const uint16_t kZoneAndLinkRegistrySize = 597;
92 extern const extended::Info::ZoneInfo* const kZoneAndLinkRegistry[597];
93 
94 }
95 }
96 #endif