AceTime
1.9.0
Date and time classes for Arduino that support timezones from the TZ Database.
|
An implementation of the ZoneManager which uses a registry of basic::ZoneInfo records. More...
#include <ZoneManager.h>
Public Member Functions | |
BasicZoneManager (uint16_t zoneRegistrySize, const basic::ZoneInfo *const *zoneRegistry, BasicZoneProcessorCacheBase &zoneProcessorCache) | |
![]() | |
TimeZone | createForZoneName (const char *name) |
Create a TimeZone for the given zone name (e.g. More... | |
TimeZone | createForZoneId (uint32_t id) |
Create a TimeZone for the given 32-bit zoneId. | |
TimeZone | createForZoneIndex (uint16_t index) |
Create a TimeZone for the given index in the ZoneInfo registry that was used to create this ZoneManager. | |
TimeZone | createForTimeZoneData (const TimeZoneData &d) |
Create a TimeZone from the TimeZoneData created by TimeZone::toTimeZoneData(). | |
uint16_t | indexForZoneName (const char *name) const |
Find the registry index for the given time zone name. More... | |
uint16_t | indexForZoneId (uint32_t id) const |
Find the registry index for the given time zone id. More... | |
uint16_t | zoneRegistrySize () const |
Return the number of elements in the Zone and Fat Link registry. More... | |
TimeZone | createForZoneInfo (const basic::ZoneInfo *zoneInfo) |
Create a TimeZone from an explicit ZoneInfo reference. More... | |
BasicZoneProcessor * | getZoneProcessor (const char *name) |
Return the ZoneProcessor for given zone name. More... | |
BasicZone | getZoneForIndex (uint16_t index) const |
Return the Zone wrapper object for the given index. | |
Additional Inherited Members | |
![]() | |
static const uint16_t | kInvalidIndex = 0xffff |
Registry index which is not valid. More... | |
![]() | |
ZoneManagerTemplate (uint16_t zoneRegistrySize, const basic::ZoneInfo *const *zoneRegistry, ZoneProcessorCacheBaseTemplate< BasicZoneProcessor > &zoneProcessorCache) | |
Constructor. More... | |
ZoneManagerTemplate (const ZoneManagerTemplate &)=delete | |
ZoneManagerTemplate & | operator= (const ZoneManagerTemplate &)=delete |
![]() | |
const basic::ZoneRegistrar | mZoneRegistrar |
ZoneProcessorCacheBaseTemplate< BasicZoneProcessor > & | mZoneProcessorCache |
An implementation of the ZoneManager which uses a registry of basic::ZoneInfo records.
Definition at line 216 of file ZoneManager.h.