AceTime  1.6
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.
Public Member Functions | Static Public Attributes | List of all members
ace_time::ExtendedZoneProcessor Class Reference

A specific implementation of ExtendedZoneProcessorTemplate that uses ZoneXxxBrokers which read from zonedb files in PROGMEM flash memory. More...

#include <ExtendedZoneProcessor.h>

Inheritance diagram for ace_time::ExtendedZoneProcessor:
Inheritance graph
[legend]
Collaboration diagram for ace_time::ExtendedZoneProcessor:
Collaboration graph
[legend]

Public Member Functions

 ExtendedZoneProcessor (const extended::ZoneInfo *zoneInfo=nullptr)
 
- Public Member Functions inherited from ace_time::ExtendedZoneProcessorTemplate< extended::BrokerFactory, extended::ZoneInfoBroker, extended::ZoneEraBroker, extended::ZonePolicyBroker, extended::ZoneRuleBroker >
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)
 
- Public Member Functions inherited from ace_time::ZoneProcessor
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 BasicZoneProcessor.
 
- Static Public Attributes inherited from ace_time::ExtendedZoneProcessorTemplate< extended::BrokerFactory, extended::ZoneInfoBroker, extended::ZoneEraBroker, extended::ZonePolicyBroker, extended::ZoneRuleBroker >
static const uint8_t kMaxTransitions
 Max number of Transitions required for a given Zone, including the most recent prior Transition. More...
 

Additional Inherited Members

- Public Types inherited from ace_time::ExtendedZoneProcessorTemplate< extended::BrokerFactory, extended::ZoneInfoBroker, extended::ZoneEraBroker, extended::ZonePolicyBroker, extended::ZoneRuleBroker >
typedef extended::TransitionTemplate< extended::ZoneEraBroker, extended::ZonePolicyBroker, extended::ZoneRuleBrokerTransition
 Exposed only for testing purposes.
 
typedef extended::ZoneMatchTemplate< extended::ZoneEraBrokerZoneMatch
 Exposed only for testing purposes.
 
typedef extended::TransitionStorageTemplate< kMaxTransitions, extended::ZoneEraBroker, extended::ZonePolicyBroker, extended::ZoneRuleBrokerTransitionStorage
 Exposed only for testing purposes.
 
- Protected Member Functions inherited from ace_time::ExtendedZoneProcessorTemplate< extended::BrokerFactory, extended::ZoneInfoBroker, extended::ZoneEraBroker, extended::ZonePolicyBroker, extended::ZoneRuleBroker >
 ExtendedZoneProcessorTemplate (uint8_t type, const extended::BrokerFactory *brokerFactory, uintptr_t zoneKey)
 Constructor. More...
 
- Protected Member Functions inherited from ace_time::ZoneProcessor
 ZoneProcessor (const ZoneProcessor &)=delete
 
ZoneProcessoroperator= (const ZoneProcessor &)=delete
 
 ZoneProcessor (uint8_t type)
 Constructor.
 
- Protected Attributes inherited from ace_time::ZoneProcessor
const uint8_t mType
 

Detailed Description

A specific implementation of ExtendedZoneProcessorTemplate that uses ZoneXxxBrokers which read from zonedb files in PROGMEM flash memory.

Definition at line 1738 of file ExtendedZoneProcessor.h.


The documentation for this class was generated from the following file: