6 #ifndef ACE_TIME_EXTENDED_ZONE_H
7 #define ACE_TIME_EXTENDED_ZONE_H
9 #include "internal/ZoneInfo.h"
13 class __FlashStringHelper;
26 mZoneInfoBroker(zoneInfo) {}
30 #if ACE_TIME_USE_PROGMEM
31 const __FlashStringHelper* name()
const {
32 return (
const __FlashStringHelper*) mZoneInfoBroker.name();
35 const __FlashStringHelper* shortName()
const {
36 const char* name = mZoneInfoBroker.name();
37 const char* slash = strrchr_P(name,
'/');
38 return (slash) ? (
const __FlashStringHelper*) (slash + 1)
39 : (
const __FlashStringHelper*) name;
42 const char* name()
const {
43 return mZoneInfoBroker.name();
46 const char* shortName()
const {
47 const char* name = mZoneInfoBroker.name();
48 const char* slash = strrchr(name,
'/');
49 return (slash) ? (slash + 1) : name;
53 uint32_t zoneId()
const {
54 return mZoneInfoBroker.zoneId();