AceTime
1.1.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.
|
A cache of ZoneProcessors that provides a ZoneProcessor to the TimeZone upon request. More...
#include <ZoneProcessorCache.h>
Public Member Functions | |
uint8_t | getType () override |
ZoneProcessor * | getZoneProcessor (const void *zoneInfo) override |
Get the ZoneProcessor from the zoneInfo. More... | |
A cache of ZoneProcessors that provides a ZoneProcessor to the TimeZone upon request.
SIZE | number of zone processors, should be approximate the number zones concurrently used in the app. It is expected that this will be small. It can be 1 if the app never changes the TimeZone. It should be 2 if the user is able to select different timezones from a menu. |
ZS | type of ZoneProcessor (BasicZoneProcessor or ExtendedZoneProcessor) |
ZI | type of ZoneInfo (basic::ZoneInfo or extended::ZoneInfo) |
ZIB | type of ZoneInfoBroker (basic::ZoneInfoBroker or extended::ZoneInfoBroker) |
Definition at line 36 of file BasicZoneProcessor.h.
|
inlineoverride |
Get the ZoneProcessor from the zoneInfo.
Will never return nullptr.
Definition at line 64 of file ZoneProcessorCache.h.