8 #include "TimeOffset.h"
16 printer.print(
"<Error>");
38 printer.print(
"<Error>");
46 mStdOffsetMinutes + mDstOffsetMinutes);
47 utcOffset.printTo(printer);
49 printer.print((mDstOffsetMinutes != 0) ?
"D" :
"S");
static TimeOffset forMinutes(int16_t minutes)
Create TimeOffset from minutes from 00:00.
void printTo(Print &printer) const
Print the human readable string, including a "-" or "+" prefix, in the form of "+/-hh:mm" or "+/-hh:m...
void printTo(Print &printer) const
Print the text representation of the time zone using the full canonical time zone name or UTC offset ...
void printTargetNameTo(Print &printer) const
Print the name of the target zone if the current time zone is a Link.
bool isUtc() const
Return true if UTC (+00:00+00:00).
bool isLink() const
Return true if timezone is a Link entry pointing to a Zone entry.
void printShortTo(Print &printer) const
Print the short human readable representation of the time zone.
static const uint8_t kTypeError
A TimeZone that represents an invalid condition.
static const uint8_t kTypeReserved
Reserved for future use.
static const uint8_t kTypeManual
Manual STD offset and DST offset.
virtual void printTargetNameTo(Print &printer) const =0
Print the full identifier (e.g.
virtual void printNameTo(Print &printer) const =0
Print a human-readable identifier (e.g.
virtual void printShortNameTo(Print &printer) const =0
Print a short human-readable identifier (e.g.