AceTime
3.0.0
Date and time classes for Arduino that support timezones from the TZ Database.
|
Metadata about the zone database. More...
#include <ZoneInfoHigh.h>
Public Attributes | |
int16_t const | startYear |
Start year of the zone files as requested. | |
int16_t const | untilYear |
Until year of the zone files as requested. | |
int16_t const | startYearAccurate |
Start year of accurate transitions. More... | |
int16_t const | untilYearAccurate |
Until year of accurate transitions. More... | |
int16_t const | baseYear |
Base year for tiny years. More... | |
int16_t const | maxTransitions |
Max number of transitions required in TransitionStorage. | |
const char *const | tzVersion |
TZ Database version which generated the zone info. | |
uint8_t const | numFragments |
Number of fragments. | |
uint8_t const | numLetters |
Number of fragments. | |
const char *const *const | fragments |
Zone Name fragment list. | |
const char *const *const | letters |
Zone Rule letters list. | |
Static Public Attributes | |
static const int16_t | kMaxUntilYear = 32767 |
The maximum value of untilYear. More... | |
static const int16_t | kMaxYear = kMaxUntilYear - 1 |
The maximum value fromYear and toYear. More... | |
static const int16_t | kMinYear = -32767 |
The minimum value of fromYear and toYear. More... | |
static const uint8_t | kSuffixW = 0x00 |
Represents 'w' or wall time. | |
static const uint8_t | kSuffixS = 0x10 |
Represents 's' or standard time. | |
static const uint8_t | kSuffixU = 0x20 |
Represents 'u' or UTC time. | |
Metadata about the zone database.
A ZoneInfo struct will contain a pointer to this.
Definition at line 49 of file ZoneInfoHigh.h.
int16_t const ace_time::ZoneInfoHigh::ZoneContext::baseYear |
|
static |
The maximum value of untilYear.
This value is used to represent the sentinel value "-" in the UNTIL column of the TZDB files which means "infinity". Must be greater than ZoneRule::kMaxYear which represents the value "max" in the TO and FROM columns of the TZDB files.
Definition at line 56 of file ZoneInfoHigh.h.
|
static |
The maximum value fromYear and toYear.
This value is used to represent the sentinel value "max" in the TZDB database files. Must be less than ZoneEra::kMaxUntilYear which is used to represent the entry "-" in the UNTIL column of the TZDB files.
Definition at line 64 of file ZoneInfoHigh.h.
|
static |
The minimum value of fromYear and toYear.
This value is used for ZoneRule entries which are synthetically generated for certain time zones which do not naturally generate a transition for the database year interval specified by the ZoneContext. This value is guaranteed to be earlier than any explicit year in the TZDB database, which guarantees that all time zones have at least one transition.
Definition at line 74 of file ZoneInfoHigh.h.
int16_t const ace_time::ZoneInfoHigh::ZoneContext::startYearAccurate |
Start year of accurate transitions.
kMinYear indicates -Infinity.
Definition at line 92 of file ZoneInfoHigh.h.
int16_t const ace_time::ZoneInfoHigh::ZoneContext::untilYearAccurate |
Until year of accurate transitions.
kMaxUntilYear indicates +Infinity.
Definition at line 95 of file ZoneInfoHigh.h.