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/tzonedbx/tzfiles
5 // --output_dir /home/brian/src/AceTime/src/tzonedbx
6 // --tz_version 2022g
7 // --action zonedb
8 // --language arduino
9 // --scope extended
10 // --db_namespace tzonedbx
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: 16 (15 zones, 1 links)
32 // Unsupported Zones: 580 (336 zones, 244 links)
33 //
34 // Original Years: [1844,2087]
35 // Generated Years: [1945,2087]
36 // Estimator Years: [1945,2090]
37 // Max Buffer Size: 7
38 //
39 // Records:
40 // Infos: 16
41 // Eras: 30
42 // Policies: 12
43 // Rules: 227
44 //
45 // Memory (8-bits):
46 // Rules: 2497
47 // Policies: 36
48 // Eras: 360
49 // Zones: 195
50 // Links: 13
51 // Registry: 32
52 // Formats: 92
53 // Letters: 23
54 // Fragments: 0
55 // Names: 260 (original: 260)
56 // TOTAL: 3508
57 //
58 // Memory (32-bits):
59 // Rules: 2724
60 // Policies: 96
61 // Eras: 480
62 // Zones: 360
63 // Links: 24
64 // Registry: 64
65 // Formats: 92
66 // Letters: 33
67 // Fragments: 0
68 // Names: 260 (original: 260)
69 // TOTAL: 4133
70 //
71 // DO NOT EDIT
72 
73 #ifndef ACE_TIME_TZONEDBX_ZONE_REGISTRY_H
74 #define ACE_TIME_TZONEDBX_ZONE_REGISTRY_H
75 
76 #include <zoneinfo/ZoneInfo.h>
77 
78 namespace ace_time {
79 namespace tzonedbx {
80 
81 // Zones
82 const uint16_t kZoneRegistrySize = 15;
83 extern const extended::ZoneInfo* const kZoneRegistry[15];
84 
85 // Zones and Links
86 const uint16_t kZoneAndLinkRegistrySize = 16;
87 extern const extended::ZoneInfo* const kZoneAndLinkRegistry[16];
88 
89 }
90 }
91 #endif