AceTime
2.3.0
Date and time classes for Arduino that support timezones from the TZ Database.
|
Identifiers used by implementation code which need to be publically exported. More...
#include <stdint.h>
Go to the source code of this file.
Typedefs | |
typedef int32_t | ace_time::acetime_t |
Type for the number of seconds from epoch. More... | |
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... | |
Identifiers used by implementation code which need to be publically exported.
Definition in file common.h.
typedef int32_t ace_time::acetime_t |
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.