AceTime  2.4.0
Date and time classes for Arduino that support timezones from the TZ Database.
Classes
ZoneInfoLow.h File Reference

Data structures describe the low resolution zoneinfo persistence format. More...

#include <stdint.h>
Include dependency graph for ZoneInfoLow.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  ace_time::zoneinfolow::ZoneContext< S >
 Metadata about the zone database. More...
 
struct  ace_time::zoneinfolow::ZoneRule< S >
 A time zone transition rule. More...
 
struct  ace_time::zoneinfolow::ZonePolicy< S >
 A collection of transition rules which describe the DST rules of a given administrative region. More...
 
struct  ace_time::zoneinfolow::ZoneEra< S >
 An entry in ZoneInfo which describes which ZonePolicy was being followed during a particular time period. More...
 
struct  ace_time::zoneinfolow::ZoneInfo< S, ZC >
 Representation of a given time zone, implemented as an array of ZoneEra records. More...
 

Detailed Description

Data structures describe the low resolution zoneinfo persistence format.

It has a 1-minute resolution for AT, UNTIL, STDOFF; 15-minute resolution for DST offsets. The year fields use a 1-byte offset from a baseYear which gives a [-127,+126] range.

The BrokersLow.h file provides an abtraction layer which converts these low-level fields into a semantically consistent API which can be used by the AceTime classes.

The various zoneinfo database files (e.g. zonedb, zonedbx, zonedbc) will use one of these persistence formats, as defined by infos.h.

See also DEVELOPER.md for an overview of the ZoneInfoXXX layer.

Definition in file ZoneInfoLow.h.