AceTime  0.5
Date and time classes for Arduino that support timezones from the TZ Database, and a system clock that can synchronize from an NTP server or an RTC chip.
ZoneContext.inc
1 /*
2  * MIT License
3  * Copyright (c) 2019 Brian T. Park
4  */
5 
10 struct ZoneContext {
11  /*
12  * Epoch year. Currently always 2000 but could change in the future. We're
13  * leaving this out for now because it's not clear how or if the various
14  * AceTime classes can use this information since the value '2000' is often
15  * a compile-time constant instead of a runtime constant.
16  */
17  //int16_t epoch_year;
18 
20  const int16_t startYear;
21 
23  const int16_t untilYear;
24 
26  const char* const tzVersion;
27 };