AceTime  0.3
Date and time classes for Arduino that support timezones from the TZ Database, and a system clock that can synchronize from an NTP server or an RTC chip.
Public Attributes | List of all members
ace_time::extended::ZonePolicy Struct Reference

A collection of transition rules which describe the DST rules of a given administrative region. More...

#include <ZonePolicy.h>

Collaboration diagram for ace_time::extended::ZonePolicy:
Collaboration graph
[legend]

Public Attributes

uint8_t const numRules
 
const ZoneRule *const rules
 
uint8_t const numLetters
 
const char *const *const letters
 

Detailed Description

A collection of transition rules which describe the DST rules of a given administrative region.

A given time zone (ZoneInfo) can follow a different ZonePolicy at different times. Conversely, multiple time zones (ZoneInfo) can choose to follow the same ZonePolicy at different times.

If numLetters is non-zero, then 'letters' will be a pointer to an array of (const char*) pointers. Any ZoneRule.letter < 32 (i.e. non-printable) will be an offset into this array of pointers.

Definition at line 91 of file ZonePolicy.h.


The documentation for this struct was generated from the following file: