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::basic::ZoneInfo Struct Reference

Representation of a given time zone, implemented as an array of ZoneEra records. More...

#include <ZoneInfo.h>

Collaboration diagram for ace_time::basic::ZoneInfo:
Collaboration graph
[legend]

Public Attributes

const char *const name
 Full name of zone (e.g. More...
 
const common::ZoneContext *const zoneContext
 ZoneContext metadata. More...
 
uint8_t const transitionBufSize
 Estimated size of Transition buffer. More...
 
uint8_t const numEras
 Number of ZoneEra entries. More...
 
const ZoneEra *const eras
 ZoneEra entries in increasing order of UNTIL time. More...
 

Detailed Description

Representation of a given time zone, implemented as an array of ZoneEra records.

Definition at line 72 of file ZoneInfo.h.

Member Data Documentation

◆ eras

const ZoneEra* const ace_time::basic::ZoneInfo::eras

ZoneEra entries in increasing order of UNTIL time.

Definition at line 92 of file ZoneInfo.h.

◆ name

const char* const ace_time::basic::ZoneInfo::name

Full name of zone (e.g.

"America/Los_Angeles"

Definition at line 74 of file ZoneInfo.h.

◆ numEras

uint8_t const ace_time::basic::ZoneInfo::numEras

Number of ZoneEra entries.

Definition at line 89 of file ZoneInfo.h.

◆ transitionBufSize

uint8_t const ace_time::basic::ZoneInfo::transitionBufSize

Estimated size of Transition buffer.

Currently, this is used only in the validation unit test for ExtendedZoneSpecifier. It is slightly wasteful to include it for the ZoneInfo and ZoneInfo classes used by BasicZoneSpecifier, but it's only one byte and it seemed worth having this additional validation capability.

Definition at line 86 of file ZoneInfo.h.

◆ zoneContext

const common::ZoneContext* const ace_time::basic::ZoneInfo::zoneContext

ZoneContext metadata.

Definition at line 77 of file ZoneInfo.h.


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