AceTime
0.5.1
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.
|
Representation of a given time zone, implemented as an array of ZoneEra records. More...
#include <ZoneInfo.h>
Public Attributes | |
const char *const | name |
Full name of zone (e.g. More... | |
uint32_t const | zoneId |
Unique, stable ID of the zone name, created from a hash of the name. More... | |
const ZoneContext *const | zoneContext |
ZoneContext metadata. More... | |
uint8_t const | transitionBufSize |
Estimated size of Transition buffer. More... | |
uint8_t const | numEras |
Number of ZoneEra entries. More... | |
const ZoneEra *const | eras |
ZoneEra entries in increasing order of UNTIL time. More... | |
Representation of a given time zone, implemented as an array of ZoneEra records.
Definition at line 77 of file ZoneInfo.h.
const ZoneEra* const ace_time::basic::ZoneInfo::eras |
ZoneEra entries in increasing order of UNTIL time.
Definition at line 104 of file ZoneInfo.h.
const char* const ace_time::basic::ZoneInfo::name |
uint8_t const ace_time::basic::ZoneInfo::numEras |
Number of ZoneEra entries.
Definition at line 101 of file ZoneInfo.h.
uint8_t const ace_time::basic::ZoneInfo::transitionBufSize |
Estimated size of Transition buffer.
Currently, this is used only in the validation unit test for ExtendedZoneProcessor. It is slightly wasteful to include it for the ZoneInfo and ZoneInfo classes used by BasicZoneProcessor, but it's only one byte and it seemed worth having this additional validation capability.
Definition at line 98 of file ZoneInfo.h.
const ZoneContext* const ace_time::basic::ZoneInfo::zoneContext |
ZoneContext metadata.
Definition at line 89 of file ZoneInfo.h.
uint32_t const ace_time::basic::ZoneInfo::zoneId |
Unique, stable ID of the zone name, created from a hash of the name.
This ID will never change once assigned. This can be used for presistence and serialization.
Definition at line 86 of file ZoneInfo.h.