AceTime  0.1
Date and time classes for Arduino that supports the TZ DAtabase, and a system clock synchronized from an NTP server or an RTC chip.
BasicZoneSpecifier.cpp
1 #include <Print.h>
2 #include "BasicZoneSpecifier.h"
3 
4 namespace ace_time {
5 
6 void BasicZoneSpecifier::printTo(Print& printer) const {
7  printer.print('[');
8  printer.print(getZoneInfo()->name);
9  printer.print(']');
10 }
11 
12 }
13 
void printTo(Print &printer) const override
Print a human-readable identifier.
const basic::ZoneInfo * getZoneInfo() const
Return the underlying ZoneInfo.