AceTime
2.1.0
Date and time classes for Arduino that support timezones from the TZ Database.
|
Internal identifiers used by implementation code, not intended to be publically exported. More...
#include <stdint.h>
Go to the source code of this file.
Functions | |
template<typename T > | |
void | ace_time::internal::swap (T &a, T &b) |
Swap 2 parameters. | |
Variables | |
const uint8_t | ace_time::internal::kAbbrevSize = 6 + 1 |
Size of the c-string buffer needed to hold a time zone abbreviation. More... | |
Internal identifiers used by implementation code, not intended to be publically exported.
Definition in file common.h.
const uint8_t ace_time::internal::kAbbrevSize = 6 + 1 |
Size of the c-string buffer needed to hold a time zone abbreviation.
Longest abbreviation currently seems to be 5 characters (https://www.timeanddate.com/time/zones/) but the TZ database spec says that abbreviations are 3 to 6 characters (https://data.iana.org/time-zones/theory.html#abbreviations), so use 6 as the maximum. Plus one for the terminating NUL character.