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.
|
A specific implementation of ExtendedZoneProcessorTemplate that uses ZoneXxxBrokers which read from zonedb files in PROGMEM flash memory. More...
#include <ExtendedZoneProcessor.h>
Public Member Functions | |
ExtendedZoneProcessor (const extended::ZoneInfo *zoneInfo=nullptr) | |
![]() | |
uint32_t | getZoneId () const override |
Return the unique stable zoneId. | |
TimeOffset | getUtcOffset (acetime_t epochSeconds) const override |
Return the total UTC offset at epochSeconds, including DST offset. More... | |
TimeOffset | getDeltaOffset (acetime_t epochSeconds) const override |
Return the DST delta offset at epochSeconds. More... | |
const char * | getAbbrev (acetime_t epochSeconds) const override |
Return the time zone abbreviation at epochSeconds. More... | |
OffsetDateTime | getOffsetDateTime (const LocalDateTime &ldt) const override |
Return the best estimate of the OffsetDateTime at the given LocalDateTime for the timezone of the current ZoneProcessor. More... | |
void | printNameTo (Print &printer) const override |
Print a human-readable identifier (e.g. More... | |
void | printShortNameTo (Print &printer) const override |
Print a short human-readable identifier (e.g. More... | |
void | log () const |
Used only for debugging. | |
void | resetTransitionHighWater () |
Reset the TransitionStorage high water mark. More... | |
uint8_t | getTransitionHighWater () const |
Get the TransitionStorage high water mark. More... | |
void | setZoneKey (uintptr_t zoneKey) override |
Set the opaque zoneKey of this object to a new value, reseting any internally cached information. More... | |
bool | equalsZoneKey (uintptr_t zoneKey) const override |
Return true if ZoneProcessor is associated with the given opaque zoneKey. More... | |
void | setBrokerFactory (const extended::BrokerFactory *brokerFactory) |
![]() | |
uint8_t | getType () const |
Return the kTypeXxx of the current instance. | |
virtual uint32_t | getZoneId () const =0 |
Return the unique stable zoneId. | |
Static Public Attributes | |
static const uint8_t | kTypeExtended = 4 |
Unique TimeZone type identifier for ExtendedZoneProcessor. | |
![]() | |
static const uint8_t | kMaxTransitions |
Max number of Transitions required for a given Zone, including the most recent prior Transition. More... | |
A specific implementation of ExtendedZoneProcessorTemplate that uses ZoneXxxBrokers which read from zonedb files in PROGMEM flash memory.
Definition at line 1712 of file ExtendedZoneProcessor.h.