AceTime  0.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.
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(getZoneInfo()->name);
8 }
9 
10 }
11 
void printTo(Print &printer) const override
Print the TD database zone identifier e.g "America/Los_Angeles".
const basic::ZoneInfo * getZoneInfo() const
Return the underlying ZoneInfo.