AceTime
1.3
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.
|
25 case kTypeBasicManaged:
26 case kTypeExtendedManaged:
30 if (! processor)
break;
35 printer.print(
"<Error>");
45 mStdOffsetMinutes + mDstOffsetMinutes);
46 utcOffset.printTo(printer);
48 printer.print((mDstOffsetMinutes != 0) ?
"DST" :
"STD");
56 case kTypeBasicManaged:
57 case kTypeExtendedManaged:
61 if (! processor)
break;
66 printer.print(
"<Error>");
virtual ZoneProcessor * getZoneProcessor(const void *zoneInfo)=0
Get ZoneProcessor from either a basic::ZoneInfo or an extended::ZoneInfo.
void printTo(Print &printer) const
Print the human readable representation of the time zone.
ZoneProcessor * mZoneProcessor
Used by kTypeBasic, kTypeExtended.
bool isUtc() const
Return true if UTC (+00:00+00:00).
const void * mZoneInfo
Used by kTypeBasic, kTypeExtended, kTypeBasicManaged, kTypeExtendedManaged.
void printTo(Print &printer) const
Print the human readable string.
void printShortTo(Print &printer) const
Print the short human readable representation of the time zone.
Base interface for ZoneProcessor classes.
static TimeOffset forMinutes(int16_t minutes)
Create TimeOffset from minutes from 00:00.
virtual void printShortTo(Print &printer) const =0
Print a short human-readable identifier (e.g.
ZoneProcessorCache * mZoneProcessorCache
Used by kTypeBasicManaged, kTypeExtendedManaged.
virtual void printTo(Print &printer) const =0
Print a human-readable identifier (e.g.