AceTime
3.0.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::swap (T &a, T &b) |
Swap 2 parameters. | |
Variables | |
const uint8_t | ace_time::kAbbrevSize = 7 + 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::kAbbrevSize = 7 + 1 |
Size of the c-string buffer needed to hold a time zone abbreviation.
Let's increase the max length from 6 to 7 to handle the z. We also need one extra byte for the terminating NUL character.