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/tzonedb/tzfiles
5 // --output_dir /home/brian/src/AceTime/src/tzonedb
6 // --tz_version 2022g
7 // --action zonedb
8 // --language arduino
9 // --scope basic
10 // --db_namespace tzonedb
11 // --generate_int16_years
12 // --include_list include_list.txt
13 // --nocompress
14 // --start_year 1980
15 // --until_year 10000
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/2022g
30 //
31 // Supported Zones: 12 (11 zones, 1 links)
32 // Unsupported Zones: 584 (340 zones, 244 links)
33 //
34 // Original Years: [1844,2087]
35 // Generated Years: [1945,2007]
36 // Estimator Years: [1945,2009]
37 // Max Buffer Size: 6
38 //
39 // Records:
40 // Infos: 12
41 // Eras: 15
42 // Policies: 8
43 // Rules: 32
44 //
45 // Memory (8-bits):
46 // Rules: 352
47 // Policies: 24
48 // Eras: 180
49 // Zones: 143
50 // Links: 13
51 // Registry: 24
52 // Formats: 38
53 // Letters: 11
54 // Fragments: 0
55 // Names: 202 (original: 202)
56 // TOTAL: 987
57 //
58 // Memory (32-bits):
59 // Rules: 384
60 // Policies: 64
61 // Eras: 240
62 // Zones: 264
63 // Links: 24
64 // Registry: 48
65 // Formats: 38
66 // Letters: 17
67 // Fragments: 0
68 // Names: 202 (original: 202)
69 // TOTAL: 1281
70 //
71 // DO NOT EDIT
72 
73 #ifndef ACE_TIME_TZONEDB_ZONE_REGISTRY_H
74 #define ACE_TIME_TZONEDB_ZONE_REGISTRY_H
75 
76 #include <zoneinfo/ZoneInfo.h>
77 
78 namespace ace_time {
79 namespace tzonedb {
80 
81 // Zones
82 const uint16_t kZoneRegistrySize = 11;
83 extern const basic::ZoneInfo* const kZoneRegistry[11];
84 
85 // Zones and Links
86 const uint16_t kZoneAndLinkRegistrySize = 12;
87 extern const basic::ZoneInfo* const kZoneAndLinkRegistry[12];
88 
89 }
90 }
91 #endif