AceTime
2.3.0
Date and time classes for Arduino that support timezones from the TZ Database.
|
Data broker for accessing ZoneInfo. More...
#include <BrokersMid.h>
Public Member Functions | |
ZoneInfoBroker (const ZI *zoneInfo=nullptr) | |
ZoneInfoBroker (const ZoneInfoBroker &)=default | |
ZoneInfoBroker & | operator= (const ZoneInfoBroker &)=default |
bool | equals (uintptr_t zoneKey) const |
bool | equals (const ZoneInfoBroker &zoneInfoBroker) const |
bool | isNull () const |
const ZoneContextBroker< ZC > | zoneContext () const |
const __FlashStringHelper * | name () const |
uint32_t | zoneId () const |
uint8_t | numEras () const |
const ZoneEraBroker< ZC, ZE, ZP, ZR > | era (uint8_t i) const |
bool | isLink () const |
ZoneInfoBroker | targetInfo () const |
void | printNameTo (Print &printer) const |
Print a human-readable identifier (e.g. More... | |
void | printShortNameTo (Print &printer) const |
Print a short human-readable identifier (e.g. More... | |
Data broker for accessing ZoneInfo.
ZC | ZoneContext type |
ZI | ZoneInfo type (e.g. basic::ZoneInfo or extended::ZoneInfo) |
ZE | ZoneEra type (e.g. basic::ZoneEra or extended::ZoneEra) |
ZP | ZonePolicy type (e.g. basic::ZonePolicy or extended::ZonePolicy) |
ZR | ZoneRule type (e.g. basic::ZoneRule or extended::ZoneRule) |
Definition at line 358 of file BrokersMid.h.
|
inline |
zoneKey | an opaque Zone primary key (e.g. const ZoneInfo*, or a uint16_t index into a database table of ZoneInfo records) |
Definition at line 373 of file BrokersMid.h.
void ace_time::zoneinfomid::ZoneInfoBroker< ZC, ZI, ZE, ZP, ZR >::printNameTo | ( | Print & | printer | ) | const |
Print a human-readable identifier (e.g.
"America/Los_Angeles").
Definition at line 429 of file BrokersMid.h.
void ace_time::zoneinfomid::ZoneInfoBroker< ZC, ZI, ZE, ZP, ZR >::printShortNameTo | ( | Print & | printer | ) | const |
Print a short human-readable identifier (e.g.
"Los Angeles"). Any underscore in the short name is replaced with a space.
Definition at line 436 of file BrokersMid.h.