AceTime  1.7.4
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 | List of all members
ace_time::ExtendedZoneManager< SIZE > Class Template Reference

An implementation of the ZoneManager which uses a registry of extended::ZoneInfo records. More...

#include <ZoneManager.h>

Inheritance diagram for ace_time::ExtendedZoneManager< SIZE >:
Inheritance graph
[legend]
Collaboration diagram for ace_time::ExtendedZoneManager< SIZE >:
Collaboration graph
[legend]

Public Member Functions

 ExtendedZoneManager (uint16_t zoneRegistrySize, const extended::ZoneInfo *const *zoneRegistry, uint16_t linkRegistrySize=0, const extended::LinkEntry *linkRegistry=nullptr)
 
- Public Member Functions inherited from ace_time::ZoneManagerImpl< extended::ZoneInfo, extended::ZoneRegistrar, extended::LinkEntry, extended::LinkRegistrar, ExtendedZoneProcessor, ExtendedZoneProcessorCache< SIZE > >
TimeZone createForZoneName (const char *name) override
 Create a TimeZone for the given zone name (e.g. More...
 
TimeZone createForZoneId (uint32_t id) override
 Create a TimeZone for the given 32-bit zoneId.
 
TimeZone createForZoneIndex (uint16_t index) override
 Create a TimeZone for the given index in the ZoneInfo registry that was used to create this ZoneManager.
 
TimeZone createForTimeZoneData (const TimeZoneData &d) override
 Create a TimeZone from the TimeZoneData created by TimeZone::toTimeZoneData().
 
uint16_t indexForZoneName (const char *name) const override
 Find the registry index for the given time zone name. More...
 
uint16_t indexForZoneId (uint32_t id) const override
 Find the registry index for the given time zone id. More...
 
uint16_t zoneRegistrySize () const override
 Return the number of elements in the Zone (and fat Link) registry. More...
 
uint16_t linkRegistrySize () const override
 Return the number of elements in the (thin) Link registry.
 
TimeZone createForZoneInfo (const extended::ZoneInfo *zoneInfo)
 Create a TimeZone from an explicit ZoneInfo reference. More...
 
- Public Member Functions inherited from ace_time::ZoneManager
virtual uint16_t zoneRegistrySize () const =0
 Return the number of elements in the Zone (and fat Link) registry. More...
 
virtual uint16_t linkRegistrySize () const =0
 Return the number of elements in the (thin) Link registry.
 

Additional Inherited Members

- Static Public Attributes inherited from ace_time::ZoneManager
static const uint16_t kInvalidIndex = 0xffff
 Registry index which is not valid. More...
 
- Protected Member Functions inherited from ace_time::ZoneManagerImpl< extended::ZoneInfo, extended::ZoneRegistrar, extended::LinkEntry, extended::LinkRegistrar, ExtendedZoneProcessor, ExtendedZoneProcessorCache< SIZE > >
 ZoneManagerImpl (uint16_t zoneRegistrySize, const extended::ZoneInfo *const *zoneRegistry, uint16_t linkRegistrySize, const extended::LinkEntry *linkRegistry)
 Constructor. More...
 

Detailed Description

template<uint16_t SIZE>
class ace_time::ExtendedZoneManager< SIZE >

An implementation of the ZoneManager which uses a registry of extended::ZoneInfo records.

Template Parameters
SIZEsize of the ExtendedZoneProcessorCache

Definition at line 305 of file ZoneManager.h.


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