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.
ExtendedZoneSpecifier.cpp
1 #include "LocalDate.h"
2 #include "ExtendedZoneSpecifier.h"
3 
4 namespace ace_time {
5 
6 const extended::ZoneEra ExtendedZoneSpecifier::kAnchorEra = {
7  0 /*offsetCode*/,
8  nullptr /*zonePolicy*/,
9  0 /*deltaCode*/,
10  nullptr /*format*/,
11  LocalDate::kInvalidYearTiny /*untilYearTiny*/,
12  1 /*untilMonth*/,
13  1 /*untilDay*/,
14  0 /*untilTimeCode*/,
15  'w' /*untilTimeModifier*/
16 };
17 
18 void ExtendedZoneSpecifier::printTo(Print& printer) const {
19  printer.print('[');
20  printer.print(mZoneInfo->name);
21  printer.print(']');
22 }
23 
24 }
void printTo(Print &printer) const override
Print a human-readable identifier.
const char *const name
Full name of zone (e.g.
Definition: ZoneInfo.h:74
static const int8_t kInvalidYearTiny
Sentinel yearTiny which indicates an error condition or sometimes a year that 'does not exist'...
Definition: LocalDate.h:41