AceTime  0.5.1
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 | Static Public Attributes | List of all members
ace_time::TimeZoneData Struct Reference

Data structure that captures the internal state of a TimeZone object with enough information so that it can be reconstructed using a ZoneManager. More...

#include <TimeZoneData.h>

Public Attributes

uint8_t type
 
union {
   struct {
      int8_t   stdOffsetCode
 
      int8_t   dstOffsetCode
 
   } 
 Used for kTypeManual. More...
 
   uint32_t   zoneId
 All of kTypeBasic, kTypeExtended, kTypeBasicManaged, kTypeExtendedManaged collapse down to a kTypeZoneId.
 
}; 
 

Static Public Attributes

static const uint8_t kTypeError = 0
 
static const uint8_t kTypeManual = 1
 
static const uint8_t kTypeZoneId = 2
 

Detailed Description

Data structure that captures the internal state of a TimeZone object with enough information so that it can be reconstructed using a ZoneManager.

The data structure can be stored persistently then read back. TimeZone::forTimeZoneData() factory method.

Definition at line 20 of file TimeZoneData.h.


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