AceTime
1.7.2
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.
|
An implementation of the ZoneManager which uses a registry of extended::ZoneInfo records. More...
#include <ZoneManager.h>
Public Member Functions | |
ExtendedZoneManager (uint16_t zoneRegistrySize, const extended::ZoneInfo *const *zoneRegistry, uint16_t linkRegistrySize=0, const extended::LinkEntry *linkRegistry=nullptr) | |
![]() | |
TimeZone | createForZoneName (const char *name) override |
Create a TimeZone for the given zone name (e.g. More... | |
TimeZone | createForZoneId (uint32_t id) override |
Create a TimeZone for the given 32-bit zoneId. | |
TimeZone | createForZoneIndex (uint16_t index) override |
Create a TimeZone for the given index in the ZoneInfo registry that was used to create this ZoneManager. | |
TimeZone | createForTimeZoneData (const TimeZoneData &d) override |
Create a TimeZone from the TimeZoneData created by TimeZone::toTimeZoneData(). | |
uint16_t | indexForZoneName (const char *name) const override |
Find the registry index for the given time zone name. More... | |
uint16_t | indexForZoneId (uint32_t id) const override |
Find the registry index for the given time zone id. More... | |
uint16_t | zoneRegistrySize () const override |
Return the number of elements in the Zone (and fat Link) registry. More... | |
uint16_t | linkRegistrySize () const override |
Return the number of elements in the (thin) Link registry. | |
TimeZone | createForZoneInfo (const extended::ZoneInfo *zoneInfo) |
Create a TimeZone from an explicit ZoneInfo reference. More... | |
![]() | |
virtual uint16_t | zoneRegistrySize () const =0 |
Return the number of elements in the Zone (and fat Link) registry. More... | |
virtual uint16_t | linkRegistrySize () const =0 |
Return the number of elements in the (thin) Link registry. | |
Additional Inherited Members | |
![]() | |
static const uint16_t | kInvalidIndex = 0xffff |
Registry index which is not valid. More... | |
![]() | |
ZoneManagerImpl (uint16_t zoneRegistrySize, const extended::ZoneInfo *const *zoneRegistry, uint16_t linkRegistrySize, const extended::LinkEntry *linkRegistry) | |
Constructor. More... | |
An implementation of the ZoneManager which uses a registry of extended::ZoneInfo records.
SIZE | size of the ExtendedZoneProcessorCache |
Definition at line 305 of file ZoneManager.h.