AceTime
3.0.0
Date and time classes for Arduino that support timezones from the TZ Database.
|
Metadata about the zone database. More...
#include <ZoneInfoLow.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. | |
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 | kInvalidYear = -32768 |
Sentinel value for an invalid 16-bit year field. | |
static const int8_t | kInvalidYearTiny = -128 |
Sentinel value for an invalid 8-bit year field. | |
static const int16_t | kMaxUntilYear = 32767 |
The maximum value of untilYear. More... | |
static const int8_t | kMaxUntilYearTiny = 127 |
Maximum value of untilYearTiny. | |
static const int16_t | kMaxYear = kMaxUntilYear - 1 |
The maximum value fromYear and toYear. More... | |
static const int8_t | kMaxYearTiny = kMaxUntilYearTiny - 1 |
Maximum value of fromYearTiny or toYearTiny. | |
static const int16_t | kMinYear = -32767 |
The minimum value of fromYear and toYear. More... | |
static const int8_t | kMinYearTiny = -127 |
The smallest value of a tiny year field. | |
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 45 of file ZoneInfoLow.h.
|
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 58 of file ZoneInfoLow.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 69 of file ZoneInfoLow.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 82 of file ZoneInfoLow.h.
int16_t const ace_time::ZoneInfoLow::ZoneContext::startYearAccurate |
Start year of accurate transitions.
kMinYear indicates -Infinity.
Definition at line 103 of file ZoneInfoLow.h.
int16_t const ace_time::ZoneInfoLow::ZoneContext::untilYearAccurate |
Until year of accurate transitions.
kMaxUntilYear indicates +Infinity.
Definition at line 106 of file ZoneInfoLow.h.