AceTime  2.2.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 2022g
7 // --action zonedb
8 // --language arduino
9 // --scope basic
10 // --generate_int16_years
11 // --start_year 2000
12 // --until_year 10000
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/2022g
27 //
28 // Supported Zones: 446 (227 zones, 219 links)
29 // Unsupported Zones: 150 (124 zones, 26 links)
30 //
31 // Original Years: [1844,2087]
32 // Generated Years: [1950,2023]
33 // Estimator Years: [1950,2025]
34 // Max Buffer Size: 6
35 //
36 // Records:
37 // Infos: 446
38 // Eras: 239
39 // Policies: 63
40 // Rules: 362
41 //
42 // Memory (8-bits):
43 // Rules: 3982
44 // Policies: 189
45 // Eras: 2868
46 // Zones: 2951
47 // Links: 2847
48 // Registry: 892
49 // Formats: 465
50 // Letters: 11
51 // Fragments: 116
52 // Names: 4144 (original: 6503)
53 // TOTAL: 18465
54 //
55 // Memory (32-bits):
56 // Rules: 4344
57 // Policies: 504
58 // Eras: 3824
59 // Zones: 5448
60 // Links: 5256
61 // Registry: 1784
62 // Formats: 465
63 // Letters: 17
64 // Fragments: 138
65 // Names: 4144 (original: 6503)
66 // TOTAL: 25924
67 //
68 // DO NOT EDIT
69 
70 #ifndef ACE_TIME_ZONEDB_ZONE_REGISTRY_H
71 #define ACE_TIME_ZONEDB_ZONE_REGISTRY_H
72 
73 #include <zoneinfo/ZoneInfo.h>
74 
75 namespace ace_time {
76 namespace zonedb {
77 
78 // Zones
79 const uint16_t kZoneRegistrySize = 227;
80 extern const basic::ZoneInfo* const kZoneRegistry[227];
81 
82 // Zones and Links
83 const uint16_t kZoneAndLinkRegistrySize = 446;
84 extern const basic::ZoneInfo* const kZoneAndLinkRegistry[446];
85 
86 }
87 }
88 #endif