AceTime
1.9.0
Date and time classes for Arduino that support timezones from the TZ Database.
|
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 | resetTransitionAllocSize () |
Reset the TransitionStorage high water mark. More... | |
uint8_t | getTransitionAllocSize () const |
Get the largest allocation size of TransitionStorage. 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) |
Set the broker factory at runtime. More... | |
bool | initForEpochSeconds (acetime_t epochSeconds) const |
Initialize using the epochSeconds. More... | |
bool | initForYear (int16_t year) const |
Initialize the zone rules cache, keyed by the "current" year. More... | |
![]() | |
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 all Zones supported by this class. More... | |
A specific implementation of ExtendedZoneProcessorTemplate that uses ZoneXxxBrokers which read from zonedb files in PROGMEM flash memory.
Definition at line 1980 of file ExtendedZoneProcessor.h.