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/testingzonedbx/tzfiles
5 // --output_dir /home/brian/src/AceTimeSuite/libraries/AceTimeLib/src/testingzonedbx
6 // --tz_version 2025b
7 // --action zonedb
8 // --language arduino
9 // --scope extended
10 // --db_namespace testingzonedbx
11 // --zi_namespace extended::Info
12 // --include_list include_list.txt
13 // --nocompress
14 // --start_year 1980
15 // --until_year 2200
16 //
17 // using the TZ Database files
18 //
19 // africa
20 // antarctica
21 // asia
22 // australasia
23 // backward
24 // etcetera
25 // europe
26 // northamerica
27 // southamerica
28 //
29 // from https://github.com/eggert/tz/releases/tag/2025b
30 //
31 // Supported Zones: 16 (15 zones, 1 links)
32 // Unsupported Zones: 581 (325 zones, 256 links)
33 //
34 // Requested Years: [1980,2200]
35 // Accurate Years: [1980,32767]
36 //
37 // Original Years: [1844,2087]
38 // Generated Years: [1945,2087]
39 // Lower/Upper Truncated: [True,False]
40 //
41 // Estimator Years: [1945,2090]
42 // Max Buffer Size: 7
43 //
44 // Records:
45 // Infos: 16
46 // Eras: 30
47 // Policies: 11
48 // Rules: 220
49 //
50 // Memory (8-bits):
51 // Context: 16
52 // Rules: 1980
53 // Policies: 33
54 // Eras: 330
55 // Zones: 195
56 // Links: 13
57 // Registry: 32
58 // Formats: 47
59 // Letters: 23
60 // Fragments: 0
61 // Names: 260 (original: 260)
62 // TOTAL: 2929
63 //
64 // Memory (32-bits):
65 // Context: 24
66 // Rules: 2640
67 // Policies: 88
68 // Eras: 480
69 // Zones: 360
70 // Links: 24
71 // Registry: 64
72 // Formats: 47
73 // Letters: 33
74 // Fragments: 0
75 // Names: 260 (original: 260)
76 // TOTAL: 4020
77 //
78 // DO NOT EDIT
79
80 #ifndef ACE_TIME_TESTINGZONEDBX_ZONE_REGISTRY_H
81 #define ACE_TIME_TESTINGZONEDBX_ZONE_REGISTRY_H
82
83 #include <zoneinfo/infos.h>
84
85 namespace ace_time {
86 namespace testingzonedbx {
87
88 // Zones
89 const uint16_t kZoneRegistrySize = 15;
90 extern const extended::Info::ZoneInfo* const kZoneRegistry[15];
91
92 // Zones and Links
93 const uint16_t kZoneAndLinkRegistrySize = 16;
94 extern const extended::Info::ZoneInfo* const kZoneAndLinkRegistry[16];
95
96 }
97 }
98 #endif