AceTime  1.9.0
Date and time classes for Arduino that support timezones from the TZ Database.
Public Member Functions | List of all members
ace_time::BasicZoneManager Class Reference

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

#include <ZoneManager.h>

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

Public Member Functions

 BasicZoneManager (uint16_t zoneRegistrySize, const basic::ZoneInfo *const *zoneRegistry, BasicZoneProcessorCacheBase &zoneProcessorCache)
 
- Public Member Functions inherited from ace_time::ZoneManagerTemplate< basic::ZoneInfo, basic::ZoneRegistrar, BasicZoneProcessor, BasicZone >
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...
 
BasicZoneProcessorgetZoneProcessor (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 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::ZoneManagerTemplate< basic::ZoneInfo, basic::ZoneRegistrar, BasicZoneProcessor, BasicZone >
 ZoneManagerTemplate (uint16_t zoneRegistrySize, const basic::ZoneInfo *const *zoneRegistry, ZoneProcessorCacheBaseTemplate< BasicZoneProcessor > &zoneProcessorCache)
 Constructor. More...
 
 ZoneManagerTemplate (const ZoneManagerTemplate &)=delete
 
ZoneManagerTemplateoperator= (const ZoneManagerTemplate &)=delete
 
- Protected Attributes inherited from ace_time::ZoneManagerTemplate< basic::ZoneInfo, basic::ZoneRegistrar, BasicZoneProcessor, BasicZone >
const basic::ZoneRegistrar mZoneRegistrar
 
ZoneProcessorCacheBaseTemplate< BasicZoneProcessor > & mZoneProcessorCache
 

Detailed Description

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

Definition at line 216 of file ZoneManager.h.


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