|
- AceTime
- 2.4.0
-
- Date and time classes for Arduino that support timezones from the TZ Database.
- |
-
|
- AceTime
- 2.4.0
-
- Date and time classes for Arduino that support timezones from the TZ Database.
- |
-



|
- AceTime
- 2.4.0
-
- Date and time classes for Arduino that support timezones from the TZ Database.
- |
-
These classes provide a thin layer of indirection for accessing the data structures defined by ZoneInfoHigh.h.
-More...
#include <stdint.h>#include <Arduino.h>#include <AceCommon.h>#include "compat.h"#include "BrokerCommon.h"#include "ZoneInfoHigh.h"

Go to the source code of this file.
--Classes | |
| class | ace_time::zoneinfohigh::ZoneContextBroker< ZC > |
| Data broker for accessing a ZoneContext. More... | |
| class | ace_time::zoneinfohigh::ZoneRuleBroker< ZC, ZR > |
| Data broker for accessing ZoneRule. More... | |
| class | ace_time::zoneinfohigh::ZonePolicyBroker< ZC, ZP, ZR > |
| Data broker for accessing ZonePolicy. More... | |
| class | ace_time::zoneinfohigh::ZoneEraBroker< ZC, ZE, ZP, ZR > |
| Data broker for accessing ZoneEra. More... | |
| class | ace_time::zoneinfohigh::ZoneInfoBroker< ZC, ZI, ZE, ZP, ZR > |
| Data broker for accessing ZoneInfo. More... | |
| class | ace_time::zoneinfohigh::ZoneRegistryBroker< ZI > |
| Data broker for accessing the ZoneRegistry. More... | |
| class | ace_time::zoneinfohigh::ZoneInfoStore< ZC, ZI, ZE, ZP, ZR > |
| A storage object that creates an ZoneInfoBroker from a key that identifies the ZoneInfo. More... | |
-Functions | |
| -int32_t | ace_time::zoneinfohigh::toDeltaSeconds (uint8_t deltaMinutes) |
| Convert the deltaMinutes holding the RULES/DSTOFF field in ZoneEra or the SAVE field in ZoneRule to delta offset in seconds. | |
| -int32_t | ace_time::zoneinfohigh::toOffsetSeconds (uint16_t offsetCode, uint8_t offsetRemainder) |
| Convert (code, remainder) holding the STDOFF field of ZoneEra into seconds. | |
| uint32_t | ace_time::zoneinfohigh::timeCodeToSeconds (uint16_t code, uint8_t modifier) |
| Convert (code, modifier) holding the UNTIL time in ZoneInfo or AT time in ZoneRule into seconds. More... | |
| uint8_t | ace_time::zoneinfohigh::toSuffix (uint8_t modifier) |
| Extract the 'w', 's' 'u' suffix from the 'modifier' field, so that they can be compared against kSuffixW, kSuffixS and kSuffixU. More... | |
These classes provide a thin layer of indirection for accessing the data structures defined by ZoneInfoHigh.h.
The zoneinfo files are stored in flash memory (using the PROGMEM keyword), and cannot be accessed directly on microcontrollers using the Harvard architecture (e.g. AVR) where data and program live in 2 different address spaces. The data in flash memory must be accessed using helper routines in <pgmspace.h>. These classes abstract away this difference so that the code BasicZoneProcessor and ExtendedZoneProcessor can be written to be (mostly) agnostic to how the zoneinfo files are stored.
- -Definition in file BrokersHigh.h.
-
-
|
- -inline | -
Convert (code, modifier) holding the UNTIL time in ZoneInfo or AT time in ZoneRule into seconds.
-The code parameter holds the AT or UNTIL time in units of 15 seconds. The lower 4-bits of modifier holds the remainder seconds.
Definition at line 60 of file BrokersHigh.h.
- -
-
|
- -inline | -
Extract the 'w', 's' 'u' suffix from the 'modifier' field, so that they can be compared against kSuffixW, kSuffixS and kSuffixU.
-Used for Zone.UNTIL and Rule.AT fields.
- -Definition at line 69 of file BrokersHigh.h.
- -|
- AceTime
- 2.4.0
-
- Date and time classes for Arduino that support timezones from the TZ Database.
- |
-
|
- AceTime
- 2.4.0
-
- Date and time classes for Arduino that support timezones from the TZ Database.
- |
-
These classes provide a thin layer of indirection for accessing the data structures defined by ZoneInfoLow.h.
-More...
#include <stdint.h>#include <Arduino.h>#include <AceCommon.h>#include "compat.h"#include "BrokerCommon.h"#include "ZoneInfoLow.h"

Go to the source code of this file.
--Classes | |
| class | ace_time::zoneinfolow::ZoneContextBroker< ZC > |
| Data broker for accessing a ZoneContext. More... | |
| class | ace_time::zoneinfolow::ZoneRuleBroker< ZC, ZR > |
| Data broker for accessing ZoneRule. More... | |
| class | ace_time::zoneinfolow::ZonePolicyBroker< ZC, ZP, ZR > |
| Data broker for accessing ZonePolicy. More... | |
| class | ace_time::zoneinfolow::ZoneEraBroker< ZC, ZE, ZP, ZR > |
| Data broker for accessing ZoneEra. More... | |
| class | ace_time::zoneinfolow::ZoneInfoBroker< ZC, ZI, ZE, ZP, ZR > |
| Data broker for accessing ZoneInfo. More... | |
| class | ace_time::zoneinfolow::ZoneRegistryBroker< ZI > |
| Data broker for accessing the ZoneRegistry. More... | |
| class | ace_time::zoneinfolow::ZoneInfoStore< ZC, ZI, ZE, ZP, ZR > |
| A storage object that creates an ZoneInfoBroker from a key that identifies the ZoneInfo. More... | |
-Functions | |
| int16_t | ace_time::zoneinfolow::toDeltaMinutes (uint8_t deltaCode) |
Convert the deltaCode holding the RULES/DSTOFF field in ZoneEra or the SAVE field in ZoneRule to the delta offset in minutes. More... | |
| int16_t | ace_time::zoneinfolow::toOffsetMinutes (uint8_t offsetCode, uint8_t deltaCode) |
Convert the offsetCode and deltaCode holding the STDOFF field of the ZoneEra into minutes. More... | |
| uint16_t | ace_time::zoneinfolow::timeCodeToMinutes (uint8_t code, uint8_t modifier) |
| Convert (code, modifier) fields representing the UNTIL time in ZoneInfo or AT time in ZoneRule in one minute resolution. More... | |
| uint8_t | ace_time::zoneinfolow::toSuffix (uint8_t modifier) |
| Extract the 'w', 's' 'u' suffix from the 'modifier' field, so that they can be compared against kSuffixW, kSuffixS and kSuffixU. More... | |
These classes provide a thin layer of indirection for accessing the data structures defined by ZoneInfoLow.h.
The zoneinfo files are stored in flash memory (using the PROGMEM keyword), and cannot be accessed directly on microcontrollers using the Harvard architecture (e.g. AVR) where data and program live in 2 different address spaces. The data in flash memory must be accessed using helper routines in <pgmspace.h>. These classes abstract away this difference so that the code BasicZoneProcessor and ExtendedZoneProcessor can be written to be (mostly) agnostic to how the zoneinfo files are stored.
- -Definition in file BrokersLow.h.
-
-
|
- -inline | -
Convert (code, modifier) fields representing the UNTIL time in ZoneInfo or AT time in ZoneRule in one minute resolution.
-The code parameter holds the AT or UNTIL time in minutes component in units of 15 minutes. The lower 4-bits of modifier holds the remainder minutes.
Definition at line 70 of file BrokersLow.h.
- -
-
|
- -inline | -
Convert the deltaCode holding the RULES/DSTOFF field in ZoneEra or the SAVE field in ZoneRule to the delta offset in minutes.
The lower 4-bits stores minutes in units of 15-minutes, shifted by 1h, so can represent the interval [-01:00 to 02:45].
-Definition at line 49 of file BrokersLow.h.
- -
-
|
- -inline | -
Convert the offsetCode and deltaCode holding the STDOFF field of the ZoneEra into minutes.
The offsetCode is rounded towards -infinity in 15-minute multiples. The upper 4-bits of deltaCode holds the (unsigned) remainder in one-minute increments.
Definition at line 59 of file BrokersLow.h.
- -
-
|
- -inline | -
Extract the 'w', 's' 'u' suffix from the 'modifier' field, so that they can be compared against kSuffixW, kSuffixS and kSuffixU.
-Used for Zone.UNTIL and Rule.AT fields.
- -Definition at line 79 of file BrokersLow.h.
- -|
- AceTime
- 2.4.0
-
- Date and time classes for Arduino that support timezones from the TZ Database.
- |
-
|
- AceTime
- 2.4.0
-
- Date and time classes for Arduino that support timezones from the TZ Database.
- |
-
These classes provide a thin layer of indirection for accessing the data structures defined by ZoneInfoMid.h.
-More...
#include <stdint.h>#include <Arduino.h>#include <AceCommon.h>#include "compat.h"#include "BrokerCommon.h"#include "ZoneInfoMid.h"

Go to the source code of this file.
--Classes | |
| class | ace_time::zoneinfomid::ZoneContextBroker< ZC > |
| Data broker for accessing a ZoneContext. More... | |
| class | ace_time::zoneinfomid::ZoneRuleBroker< ZC, ZR > |
| Data broker for accessing ZoneRule. More... | |
| class | ace_time::zoneinfomid::ZonePolicyBroker< ZC, ZP, ZR > |
| Data broker for accessing ZonePolicy. More... | |
| class | ace_time::zoneinfomid::ZoneEraBroker< ZC, ZE, ZP, ZR > |
| Data broker for accessing ZoneEra. More... | |
| class | ace_time::zoneinfomid::ZoneInfoBroker< ZC, ZI, ZE, ZP, ZR > |
| Data broker for accessing ZoneInfo. More... | |
| class | ace_time::zoneinfomid::ZoneRegistryBroker< ZI > |
| Data broker for accessing the ZoneRegistry. More... | |
| class | ace_time::zoneinfomid::ZoneInfoStore< ZC, ZI, ZE, ZP, ZR > |
| A storage object that creates an ZoneInfoBroker from a key that identifies the ZoneInfo. More... | |
-Functions | |
| int16_t | ace_time::zoneinfomid::toDeltaMinutes (uint8_t deltaCode) |
Convert the deltaCode holding the RULES/DSTOFF field in ZoneEra or the SAVE field in ZoneRule to the delta offset in minutes. More... | |
| int16_t | ace_time::zoneinfomid::toOffsetMinutes (uint8_t offsetCode, uint8_t deltaCode) |
Convert the offsetCode and deltaCode holding the STDOFF field of the ZoneEra into minutes. More... | |
| uint16_t | ace_time::zoneinfomid::timeCodeToMinutes (uint8_t code, uint8_t modifier) |
| Convert (code, modifier) fields representing the UNTIL time in ZoneInfo or AT time in ZoneRule in one minute resolution. More... | |
| uint8_t | ace_time::zoneinfomid::toSuffix (uint8_t modifier) |
| Extract the 'w', 's' 'u' suffix from the 'modifier' field, so that they can be compared against kSuffixW, kSuffixS and kSuffixU. More... | |
These classes provide a thin layer of indirection for accessing the data structures defined by ZoneInfoMid.h.
The zoneinfo files are stored in flash memory (using the PROGMEM keyword), and cannot be accessed directly on microcontrollers using the Harvard architecture (e.g. AVR) where data and program live in 2 different address spaces. The data in flash memory must be accessed using helper routines in <pgmspace.h>. These classes abstract away this difference so that the code BasicZoneProcessor and ExtendedZoneProcessor can be written to be (mostly) agnostic to how the zoneinfo files are stored.
- -Definition in file BrokersMid.h.
-
-
|
- -inline | -
Convert (code, modifier) fields representing the UNTIL time in ZoneInfo or AT time in ZoneRule in one minute resolution.
-The code parameter holds the AT or UNTIL time in minutes component in units of 15 minutes. The lower 4-bits of modifier holds the remainder minutes.
Definition at line 70 of file BrokersMid.h.
- -
-
|
- -inline | -
Convert the deltaCode holding the RULES/DSTOFF field in ZoneEra or the SAVE field in ZoneRule to the delta offset in minutes.
The lower 4-bits stores minutes in units of 15-minutes, shifted by 1h, so can represent the interval [-01:00 to 02:45].
-Definition at line 49 of file BrokersMid.h.
- -
-
|
- -inline | -
Convert the offsetCode and deltaCode holding the STDOFF field of the ZoneEra into minutes.
The offsetCode is rounded towards -infinity in 15-minute multiples. The upper 4-bits of deltaCode holds the (unsigned) remainder in one-minute increments.
Definition at line 59 of file BrokersMid.h.
- -
-
|
- -inline | -
Extract the 'w', 's' 'u' suffix from the 'modifier' field, so that they can be compared against kSuffixW, kSuffixS and kSuffixU.
-Used for Zone.UNTIL and Rule.AT fields.
- -Definition at line 79 of file BrokersMid.h.
- -|
- AceTime
- 2.4.0
-
- Date and time classes for Arduino that support timezones from the TZ Database.
- |
-
|
- AceTime
- 2.4.0
-
- Date and time classes for Arduino that support timezones from the TZ Database.
- |
-
|
- AceTime
- 2.4.0
-
- Date and time classes for Arduino that support timezones from the TZ Database.
- |
-
|
- AceTime
- 2.4.0
-
- Date and time classes for Arduino that support timezones from the TZ Database.
- |
-
|
- AceTime
- 2.4.0
-
- Date and time classes for Arduino that support timezones from the TZ Database.
- |
-
Data structures that encodes the high resolution zoneinfo database persistence format. More...
#include <stdint.h>#include <Arduino.h>#include <AceCommon.h>#include "compat.h"#include "BrokerCommon.h"



Classes | |
| struct | ace_time::zoneinfohigh::ZoneContext< S > |
| Metadata about the zone database. More... | |
| class | ace_time::ZoneInfoHigh |
| Wrapper class so that the entire collection can be referenced as a singel template parameter. More... | |
| struct | ace_time::zoneinfohigh::ZoneRule< S > |
| A time zone transition rule. More... | |
| struct | ace_time::ZoneInfoHigh::ZoneContext |
| Metadata about the zone database. More... | |
| struct | ace_time::zoneinfohigh::ZonePolicy< S > |
| A collection of transition rules which describe the DST rules of a given administrative region. More... | |
| struct | ace_time::ZoneInfoHigh::ZoneRule |
| A time zone transition rule. More... | |
| struct | ace_time::zoneinfohigh::ZoneEra< S > |
| An entry in ZoneInfo which describes which ZonePolicy was being followed during a particular time period. More... | |
| struct | ace_time::ZoneInfoHigh::ZonePolicy |
| A collection of transition rules which describe the DST rules of a given administrative region. More... | |
| struct | ace_time::zoneinfohigh::ZoneInfo< S, ZC > |
| Representation of a given time zone, implemented as an array of ZoneEra records. More... | |
| struct | ace_time::ZoneInfoHigh::ZoneEra |
| An entry in ZoneInfo which describes which ZonePolicy was being followed during a particular time period. More... | |
| struct | ace_time::ZoneInfoHigh::ZoneInfo |
| Representation of a given time zone, implemented as an array of ZoneEra records. More... | |
| class | ace_time::ZoneInfoHigh::ZoneContextBroker |
| Data broker for accessing a ZoneContext. More... | |
| class | ace_time::ZoneInfoHigh::ZoneRuleBroker |
| Data broker for accessing ZoneRule. More... | |
| class | ace_time::ZoneInfoHigh::ZonePolicyBroker |
| Data broker for accessing ZonePolicy. More... | |
| class | ace_time::ZoneInfoHigh::ZoneEraBroker |
| Data broker for accessing ZoneEra. More... | |
| class | ace_time::ZoneInfoHigh::ZoneInfoBroker |
| Data broker for accessing ZoneInfo. More... | |
| class | ace_time::ZoneInfoHigh::ZoneRegistryBroker |
| Data broker for accessing the ZoneRegistry. More... | |
| class | ace_time::ZoneInfoHigh::ZoneInfoStore |
| A storage object that creates an ZoneInfoBroker from a key that identifies the ZoneInfo. More... | |
Data structures that encodes the high resolution zoneinfo database persistence format.
It has a 1-second resolution for AT, UNTIL, STDOFF, and DST offsets. The year fiels use 2-bytes which supporting years [-32767,32765].
The BrokersHigh.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 BrokersHigh.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.
diff --git a/docs/html/ZoneInfoHigh_8h__dep__incl.map b/docs/html/ZoneInfoHigh_8h__dep__incl.map index dd47b4aec..491faeddd 100644 --- a/docs/html/ZoneInfoHigh_8h__dep__incl.map +++ b/docs/html/ZoneInfoHigh_8h__dep__incl.map @@ -1,52 +1,52 @@ -Data structures describe the low resolution zoneinfo persistence format. More...
#include <stdint.h>#include <Arduino.h>#include <AceCommon.h>#include "compat.h"#include "BrokerCommon.h"



Classes | |
| struct | ace_time::zoneinfolow::ZoneContext< S > |
| Metadata about the zone database. More... | |
| class | ace_time::ZoneInfoLow |
| struct | ace_time::zoneinfolow::ZoneRule< S > |
| A time zone transition rule. More... | |
| struct | ace_time::ZoneInfoLow::ZoneContext |
| Metadata about the zone database. 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::ZoneRule |
| A time zone transition rule. 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::ZonePolicy |
| A collection of transition rules which describe the DST rules of a given administrative region. More... | |
| struct | ace_time::zoneinfolow::ZoneInfo< S, ZC > |
| Representation of a given time zone, implemented as an array of ZoneEra records. More... | |
| struct | ace_time::ZoneInfoLow::ZoneEra |
| An entry in ZoneInfo which describes which ZonePolicy was being followed during a particular time period. More... | |
| struct | ace_time::ZoneInfoLow::ZoneInfo |
| Representation of a given time zone, implemented as an array of ZoneEra records. More... | |
| class | ace_time::ZoneInfoLow::ZoneContextBroker |
| Data broker for accessing a ZoneContext. More... | |
| class | ace_time::ZoneInfoLow::ZoneRuleBroker |
| Data broker for accessing ZoneRule. More... | |
| class | ace_time::ZoneInfoLow::ZonePolicyBroker |
| Data broker for accessing ZonePolicy. More... | |
| class | ace_time::ZoneInfoLow::ZoneEraBroker |
| Data broker for accessing ZoneEra. More... | |
| class | ace_time::ZoneInfoLow::ZoneInfoBroker |
| Data broker for accessing ZoneInfo. More... | |
| class | ace_time::ZoneInfoLow::ZoneRegistryBroker |
| Data broker for accessing the ZoneRegistry. More... | |
| class | ace_time::ZoneInfoLow::ZoneInfoStore |
| A storage object that creates an ZoneInfoBroker from a key that identifies the ZoneInfo. More... | |
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 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.
diff --git a/docs/html/ZoneInfoLow_8h__dep__incl.map b/docs/html/ZoneInfoLow_8h__dep__incl.map index f89a06417..3aa1cf6cd 100644 --- a/docs/html/ZoneInfoLow_8h__dep__incl.map +++ b/docs/html/ZoneInfoLow_8h__dep__incl.map @@ -1,52 +1,52 @@ -Data structures that describe the mid resolution zoneinfo persistence format. More...
#include <stdint.h>#include <Arduino.h>#include <AceCommon.h>#include "compat.h"#include "BrokerCommon.h"



Classes | |
| struct | ace_time::zoneinfomid::ZoneContext< S > |
| Metadata about the zone database. More... | |
| class | ace_time::ZoneInfoMid |
| Wrapper class so that the entire collection can be referenced as a singel template parameter. More... | |
| struct | ace_time::zoneinfomid::ZoneRule< S > |
| A time zone transition rule. More... | |
| struct | ace_time::ZoneInfoMid::ZoneContext |
| Metadata about the zone database. More... | |
| struct | ace_time::zoneinfomid::ZonePolicy< S > |
| A collection of transition rules which describe the DST rules of a given administrative region. More... | |
| struct | ace_time::ZoneInfoMid::ZoneRule |
| A time zone transition rule. More... | |
| struct | ace_time::zoneinfomid::ZoneEra< S > |
| An entry in ZoneInfo which describes which ZonePolicy was being followed during a particular time period. More... | |
| struct | ace_time::ZoneInfoMid::ZonePolicy |
| A collection of transition rules which describe the DST rules of a given administrative region. More... | |
| struct | ace_time::zoneinfomid::ZoneInfo< S, ZC > |
| Representation of a given time zone, implemented as an array of ZoneEra records. More... | |
| struct | ace_time::ZoneInfoMid::ZoneEra |
| An entry in ZoneInfo which describes which ZonePolicy was being followed during a particular time period. More... | |
| struct | ace_time::ZoneInfoMid::ZoneInfo |
| Representation of a given time zone, implemented as an array of ZoneEra records. More... | |
| class | ace_time::ZoneInfoMid::ZoneContextBroker |
| Data broker for accessing a ZoneContext. More... | |
| class | ace_time::ZoneInfoMid::ZoneRuleBroker |
| Data broker for accessing ZoneRule. More... | |
| class | ace_time::ZoneInfoMid::ZonePolicyBroker |
| Data broker for accessing ZonePolicy. More... | |
| class | ace_time::ZoneInfoMid::ZoneEraBroker |
| Data broker for accessing ZoneEra. More... | |
| class | ace_time::ZoneInfoMid::ZoneInfoBroker |
| Data broker for accessing ZoneInfo. More... | |
| class | ace_time::ZoneInfoMid::ZoneRegistryBroker |
| Data broker for accessing the ZoneRegistry. More... | |
| class | ace_time::ZoneInfoMid::ZoneInfoStore |
| A storage object that creates an ZoneInfoBroker from a key that identifies the ZoneInfo. More... | |
Data structures that describe the mid resolution zoneinfo persistence format.
by the AceTimeTools compiler. It has a 1-minute resolution for AT, UNTIL, STDOFF; a 15-minute resolution for DST offset (similar to ZoneInfoLow). But it also uses 2-byte year fields supporting year range of [-32767,32765] (similar to ZoneInfoHigh).
The BrokersMid.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 BrokersMid.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. (The ZoneInfoMid.h persistence format was used at some point during the development, but it is current not used by any of the zone*db database files.)
See also DEVELOPER.md for an overview of the ZoneInfoXXX layer.
diff --git a/docs/html/ZoneInfoMid_8h__dep__incl.map b/docs/html/ZoneInfoMid_8h__dep__incl.map index 5f6bf0e6e..e1f8584c2 100644 --- a/docs/html/ZoneInfoMid_8h__dep__incl.map +++ b/docs/html/ZoneInfoMid_8h__dep__incl.map @@ -1,52 +1,52 @@ -|
+ AceTime
+ 3.0.0
+
+ Date and time classes for Arduino that support timezones from the TZ Database.
+ |
+
|
- AceTime
- 2.4.0
-
- Date and time classes for Arduino that support timezones from the TZ Database.
- |
-
|
- AceTime
- 2.4.0
-
- Date and time classes for Arduino that support timezones from the TZ Database.
- |
-
The brokers in the basic:: and extended:: namespaces are identical in code. -More...
-

Go to the source code of this file.
--Typedefs | |
| -using | ace_time::basic::ZoneContextBroker = zoneinfolow::ZoneContextBroker< ZoneContext > |
| Data broker for accessing ZoneContext. | |
| -using | ace_time::basic::ZoneRuleBroker = zoneinfolow::ZoneRuleBroker< ZoneContext, ZoneRule > |
| Data broker for accessing ZoneRule. | |
| -using | ace_time::basic::ZonePolicyBroker = zoneinfolow::ZonePolicyBroker< ZoneContext, ZonePolicy, ZoneRule > |
| Data broker for accessing ZonePolicy. | |
| -using | ace_time::basic::ZoneEraBroker = zoneinfolow::ZoneEraBroker< ZoneContext, ZoneEra, ZonePolicy, ZoneRule > |
| Data broker for accessing ZoneEra. | |
| -using | ace_time::basic::ZoneInfoBroker = zoneinfolow::ZoneInfoBroker< ZoneContext, ZoneInfo, ZoneEra, ZonePolicy, ZoneRule > |
| Data broker for accessing ZoneInfo. | |
| using | ace_time::basic::ZoneRegistryBroker = zoneinfolow::ZoneRegistryBroker< ZoneInfo > |
| Data broker for accessing the ZoneRegistry. More... | |
| -using | ace_time::basic::ZoneInfoStore = zoneinfolow::ZoneInfoStore< ZoneContext, ZoneInfo, ZoneEra, ZonePolicy, ZoneRule > |
| Storage object that returns a ZoneInfoBroker from a ZoneInfo pointer. | |
| -using | ace_time::extended::ZoneContextBroker = zoneinfolow::ZoneContextBroker< ZoneContext > |
| Data broker for accessing ZoneContext. | |
| -using | ace_time::extended::ZoneRuleBroker = zoneinfolow::ZoneRuleBroker< ZoneContext, ZoneRule > |
| Data broker for accessing ZoneRule. | |
| -using | ace_time::extended::ZonePolicyBroker = zoneinfolow::ZonePolicyBroker< ZoneContext, ZonePolicy, ZoneRule > |
| Data broker for accessing ZonePolicy. | |
| -using | ace_time::extended::ZoneEraBroker = zoneinfolow::ZoneEraBroker< ZoneContext, ZoneEra, ZonePolicy, ZoneRule > |
| Data broker for accessing ZoneEra. | |
| -using | ace_time::extended::ZoneInfoBroker = zoneinfolow::ZoneInfoBroker< ZoneContext, ZoneInfo, ZoneEra, ZonePolicy, ZoneRule > |
| Data broker for accessing ZoneInfo. | |
| using | ace_time::extended::ZoneRegistryBroker = zoneinfolow::ZoneRegistryBroker< ZoneInfo > |
| Data broker for accessing the ZoneRegistry. More... | |
| -using | ace_time::extended::ZoneInfoStore = zoneinfolow::ZoneInfoStore< ZoneContext, ZoneInfo, ZoneEra, ZonePolicy, ZoneRule > |
| Storage object that returns a ZoneInfoBroker from a ZoneInfo pointer. | |
| -using | ace_time::complete::ZoneContextBroker = zoneinfohigh::ZoneContextBroker< ZoneContext > |
| Data broker for accessing ZoneContext. | |
| -using | ace_time::complete::ZoneRuleBroker = zoneinfohigh::ZoneRuleBroker< ZoneContext, ZoneRule > |
| Data broker for accessing ZoneRule. | |
| -using | ace_time::complete::ZonePolicyBroker = zoneinfohigh::ZonePolicyBroker< ZoneContext, ZonePolicy, ZoneRule > |
| Data broker for accessing ZonePolicy. | |
| -using | ace_time::complete::ZoneEraBroker = zoneinfohigh::ZoneEraBroker< ZoneContext, ZoneEra, ZonePolicy, ZoneRule > |
| Data broker for accessing ZoneEra. | |
| -using | ace_time::complete::ZoneInfoBroker = zoneinfohigh::ZoneInfoBroker< ZoneContext, ZoneInfo, ZoneEra, ZonePolicy, ZoneRule > |
| Data broker for accessing ZoneInfo. | |
| using | ace_time::complete::ZoneRegistryBroker = zoneinfohigh::ZoneRegistryBroker< ZoneInfo > |
| Data broker for accessing the ZoneRegistry. More... | |
| -using | ace_time::complete::ZoneInfoStore = zoneinfohigh::ZoneInfoStore< ZoneContext, ZoneInfo, ZoneEra, ZonePolicy, ZoneRule > |
The brokers in the basic:: and extended:: namespaces are identical in code.
-The purpose for having separate class hierarchies is to provide compile-time assurance that the BasicZoneProcessor and ExtendedZoneProcessor are given the correct zoneinfo files from the appropriate zonedb database.
- -Definition in file brokers.h.
-| using ace_time::basic::ZoneRegistryBroker = typedef zoneinfolow::ZoneRegistryBroker<ZoneInfo> | -
| using ace_time::extended::ZoneRegistryBroker = typedef zoneinfolow::ZoneRegistryBroker<ZoneInfo> | -
| using ace_time::complete::ZoneRegistryBroker = typedef zoneinfohigh::ZoneRegistryBroker<ZoneInfo> | -
|
- AceTime
- 2.4.0
-
- Date and time classes for Arduino that support timezones from the TZ Database.
- |
-
|
- AceTime
- 2.4.0
-
- Date and time classes for Arduino that support timezones from the TZ Database.
- |
-
This is the complete list of members for ace_time::BasicZone, including all inherited members.
-| BasicZone(const basic::ZoneInfo *zoneInfo) | ace_time::BasicZone | inline |
| BasicZone(const basic::ZoneInfoBroker &zoneInfo) | ace_time::BasicZone | inline |
| BasicZone(const BasicZone &)=default (defined in ace_time::BasicZone) | ace_time::BasicZone | |
| isNull() const | ace_time::BasicZone | inline |
| kname() const | ace_time::BasicZone | inline |
| operator=(const BasicZone &)=default (defined in ace_time::BasicZone) | ace_time::BasicZone | |
| printNameTo(Print &printer) const | ace_time::BasicZone | |
| printShortNameTo(Print &printer) const | ace_time::BasicZone | |
| stdOffset() const | ace_time::BasicZone | inline |
| zoneId() const | ace_time::BasicZone | inline |
|
- AceTime
- 2.4.0
-
- Date and time classes for Arduino that support timezones from the TZ Database.
- |
-
A thin wrapper around a basic::ZoneInfo data structure to provide a stable API access to some useful basic::ZoneInfo data. - More...
- -#include <BasicZone.h>
-Public Member Functions | |
| - | BasicZone (const basic::ZoneInfo *zoneInfo) |
| Constructor from a raw basic::ZoneInfo* pointer, intended for manual inspection of a ZoneInfo record. | |
| BasicZone (const basic::ZoneInfoBroker &zoneInfo) | |
| Constructor from a basic::ZoneInfoBroker, used by BasicZoneProcessor. More... | |
| - | BasicZone (const BasicZone &)=default |
| -BasicZone & | operator= (const BasicZone &)=default |
| -bool | isNull () const |
| Return true if zoneInfo is null. | |
| void | printNameTo (Print &printer) const |
| Print the full zone name to printer. More... | |
| void | printShortNameTo (Print &printer) const |
| Print the short pretty zone name to the printer. More... | |
| -uint32_t | zoneId () const |
| Return the zoneId of the current zoneInfo. | |
| -TimeOffset | stdOffset () const |
| Return the STDOFF of the last ZoneEra. | |
| -ace_common::KString | kname () const |
| Return the name as a KString. | |
A thin wrapper around a basic::ZoneInfo data structure to provide a stable API access to some useful basic::ZoneInfo data.
-The basic::ZoneInfo data struct is intended to be an opaque type to the users of this library.
- -Definition at line 23 of file BasicZone.h.
-
-
|
- -inline | -
Constructor from a basic::ZoneInfoBroker, used by BasicZoneProcessor.
-This allows the implementation details of ZoneInfoBroker to remain hidden.
- -Definition at line 37 of file BasicZone.h.
- -| void ace_time::BasicZone::printNameTo | -( | -Print & | -printer | ) | -const | -
Print the full zone name to printer.
-Example "America/Los_Angeles".
- -Definition at line 18 of file BasicZone.cpp.
- -| void ace_time::BasicZone::printShortNameTo | -( | -Print & | -printer | ) | -const | -
Print the short pretty zone name to the printer.
-Underscores are replaced with spaces. Example "Los Angeles".
- -Definition at line 25 of file BasicZone.cpp.
- -This is the complete list of members for ace_time::BasicZoneProcessor, including all inherited members.
Public Member Functions | |
| - | BasicZoneProcessor (const basic::ZoneInfo *zoneInfo=nullptr) |
Public Member Functions inherited from ace_time::BasicZoneProcessorTemplate< basic::ZoneInfoStore, basic::ZoneInfoBroker, basic::ZoneEraBroker, basic::ZonePolicyBroker, basic::ZoneRuleBroker > | |
| + | |
| + | BasicZoneProcessor (const basic::Info::ZoneInfo *zoneInfo=nullptr) |
Public Member Functions inherited from ace_time::BasicZoneProcessorTemplate< basic::Info > | |
| bool | isLink () const override |
| Return true if timezone is a Link entry pointing to a Zone entry. | |
| + | |
| Return true if timezone is a Link entry pointing to a Zone entry. | |
| uint32_t | getZoneId () const override |
| Return the unique stable zoneId. | |
| FindResult | findByLocalDateTime (const LocalDateTime &ldt) const override |
| + | |
| Return the unique stable zoneId. | |
| FindResult | findByLocalDateTime (const LocalDateTime &ldt) const override |
| FindResult | findByEpochSeconds (acetime_t epochSeconds) const override |
| Return the search results at given epochSeconds. | |
| void | printNameTo (Print &printer) const override |
| Print a human-readable identifier (e.g. More... | |
| void | printShortNameTo (Print &printer) const override |
| Print a short human-readable identifier (e.g. More... | |
| void | printTargetNameTo (Print &printer) const override |
| Print the full identifier (e.g. More... | |
| void | setZoneKey (uintptr_t zoneKey) override |
| Set the opaque zoneKey of this object to a new value, reseting any internally cached information. More... | |
| bool | equalsZoneKey (uintptr_t zoneKey) const override |
| Return true if ZoneProcessor is associated with the given opaque zoneKey. More... | |
| -void | log () const |
| Used only for debugging. | |
| void | setZoneInfoStore (const basic::ZoneInfoStore *zoneInfoStore) |
| Set the zone info store at runtime. More... | |
| Return the search results at given epochSeconds. | |
| void | printNameTo (Print &printer) const override |
| Print a human-readable identifier (e.g. More... | |
| void | printShortNameTo (Print &printer) const override |
| Print a short human-readable identifier (e.g. More... | |
| void | printTargetNameTo (Print &printer) const override |
| Print the full identifier (e.g. More... | |
| void | setZoneKey (uintptr_t zoneKey) override |
| Set the opaque zoneKey of this object to a new value, reseting any internally cached information. More... | |
| bool | equalsZoneKey (uintptr_t zoneKey) const override |
| Return true if ZoneProcessor is associated with the given opaque zoneKey. More... | |
| +void | log () const |
| Used only for debugging. | |
| void | setZoneInfoStore (const typename D::ZoneInfoStore *zoneInfoStore) |
| Set the zone info store at runtime. More... | |
Public Member Functions inherited from ace_time::ZoneProcessor | |
| uint8_t | getType () const |
Additional Inherited Members | |
Public Types inherited from ace_time::BasicZoneProcessorTemplate< basic::ZoneInfoStore, basic::ZoneInfoBroker, basic::ZoneEraBroker, basic::ZonePolicyBroker, basic::ZoneRuleBroker > | |
| -typedef basic::TransitionTemplate< basic::ZoneInfoBroker, basic::ZoneEraBroker, basic::ZonePolicyBroker, basic::ZoneRuleBroker > | Transition |
| Exposed only for testing purposes. | |
Protected Member Functions inherited from ace_time::BasicZoneProcessorTemplate< basic::ZoneInfoStore, basic::ZoneInfoBroker, basic::ZoneEraBroker, basic::ZonePolicyBroker, basic::ZoneRuleBroker > | |
| BasicZoneProcessorTemplate (uint8_t type, const basic::ZoneInfoStore *zoneInfoStore, uintptr_t zoneKey) | |
| Constructor. More... | |
Public Types inherited from ace_time::BasicZoneProcessorTemplate< basic::Info > | |
| +typedef basic::TransitionTemplate< basic::Info > | Transition |
| Exposed only for testing purposes. | |
Protected Member Functions inherited from ace_time::BasicZoneProcessorTemplate< basic::Info > | |
| BasicZoneProcessorTemplate (uint8_t type, const typename D::ZoneInfoStore *zoneInfoStore, uintptr_t zoneKey) | |
| Constructor. More... | |
Protected Member Functions inherited from ace_time::ZoneProcessor | |
| ZoneProcessor (const ZoneProcessor &)=delete | |
|
AceTime
- 2.4.0
+ 3.0.0
Date and time classes for Arduino that support timezones from the TZ Database.
|
diff --git a/docs/html/classace__time_1_1BasicZoneProcessorCache.html b/docs/html/classace__time_1_1BasicZoneProcessorCache.html
index 1e1cdea4d..458c040ed 100644
--- a/docs/html/classace__time_1_1BasicZoneProcessorCache.html
+++ b/docs/html/classace__time_1_1BasicZoneProcessorCache.html
@@ -22,7 +22,7 @@
|
|
AceTime
- 2.4.0
+ 3.0.0
Date and time classes for Arduino that support timezones from the TZ Database.
|
@@ -112,7 +112,7 @@
|
| Get the ZoneProcessor at index i. | |
| ZP * | getZoneProcessor (uintptr_t zoneKey) |
| Get ZoneProcessor from either a ZoneKey, either a basic::ZoneInfo or an extended::ZoneInfo. More... | |
| Get ZoneProcessor from either a ZoneKey, basic::Info::ZoneInfo, an extended::Info::ZoneInfo, or complete::Info::ZoneInfo. More... | |
Definition at line 121 of file ZoneProcessorCache.h.
+Definition at line 122 of file ZoneProcessorCache.h.
This is the complete list of members for ace_time::BasicZoneProcessorTemplate< ZIS, ZIB, ZEB, ZPB, ZRB >, including all inherited members.
+This is the complete list of members for ace_time::BasicZoneProcessorTemplate< D >, including all inherited members.
#include <BasicZoneProcessor.h>




Public Types | |
| -typedef basic::TransitionTemplate< ZIB, ZEB, ZPB, ZRB > | Transition |
| Exposed only for testing purposes. | |
| +typedef basic::TransitionTemplate< D > | Transition |
| Exposed only for testing purposes. | |
Public Member Functions | |
| -bool | isLink () const override |
| Return true if timezone is a Link entry pointing to a Zone entry. | |
| -uint32_t | getZoneId () const override |
| Return the unique stable zoneId. | |
| FindResult | findByLocalDateTime (const LocalDateTime &ldt) const override |
| Return the search results at given LocalDateTime. More... | |
| -FindResult | findByEpochSeconds (acetime_t epochSeconds) const override |
| Return the search results at given epochSeconds. | |
| void | printNameTo (Print &printer) const override |
| Print a human-readable identifier (e.g. More... | |
| void | printShortNameTo (Print &printer) const override |
| Print a short human-readable identifier (e.g. More... | |
| void | printTargetNameTo (Print &printer) const override |
| Print the full identifier (e.g. More... | |
| void | setZoneKey (uintptr_t zoneKey) override |
| Set the opaque zoneKey of this object to a new value, reseting any internally cached information. More... | |
| bool | equalsZoneKey (uintptr_t zoneKey) const override |
| Return true if ZoneProcessor is associated with the given opaque zoneKey. More... | |
| -void | log () const |
| Used only for debugging. | |
| void | setZoneInfoStore (const ZIS *zoneInfoStore) |
| Set the zone info store at runtime. More... | |
| +bool | isLink () const override |
| Return true if timezone is a Link entry pointing to a Zone entry. | |
| +uint32_t | getZoneId () const override |
| Return the unique stable zoneId. | |
| FindResult | findByLocalDateTime (const LocalDateTime &ldt) const override |
| Return the search results at given LocalDateTime. More... | |
| +FindResult | findByEpochSeconds (acetime_t epochSeconds) const override |
| Return the search results at given epochSeconds. | |
| void | printNameTo (Print &printer) const override |
| Print a human-readable identifier (e.g. More... | |
| void | printShortNameTo (Print &printer) const override |
| Print a short human-readable identifier (e.g. More... | |
| void | printTargetNameTo (Print &printer) const override |
| Print the full identifier (e.g. More... | |
| void | setZoneKey (uintptr_t zoneKey) override |
| Set the opaque zoneKey of this object to a new value, reseting any internally cached information. More... | |
| bool | equalsZoneKey (uintptr_t zoneKey) const override |
| Return true if ZoneProcessor is associated with the given opaque zoneKey. More... | |
| +void | log () const |
| Used only for debugging. | |
| void | setZoneInfoStore (const typename D::ZoneInfoStore *zoneInfoStore) |
| Set the zone info store at runtime. More... | |
Public Member Functions inherited from ace_time::ZoneProcessor | |
| uint8_t | getType () const |
Protected Member Functions | |
| BasicZoneProcessorTemplate (uint8_t type, const ZIS *zoneInfoStore, uintptr_t zoneKey) | |
| Constructor. More... | |
| BasicZoneProcessorTemplate (uint8_t type, const typename D::ZoneInfoStore *zoneInfoStore, uintptr_t zoneKey) | |
| Constructor. More... | |
Protected Member Functions inherited from ace_time::ZoneProcessor | |
| ZoneProcessor (const ZoneProcessor &)=delete | |
An implementation of ZoneProcessor that supports a subset of the zones containing in the TZ Database.
The supported list of zones, as well as the list of unsupported zones, are is listed in the zonedb/zone_info.h header file. The constructor expects a pointer to one of the ZoneInfo structures declared in the zone_infos.h file.
The internal ZoneRule and ZoneEra records that match the year of the given epochSeconds are cached for performance. The expectation is that repeated calls to the various methods will have epochSeconds which do not vary too greatly and will occur in the same year.
The Rule records are transition points which look like this:
* Rule NAME FROM TO TYPE IN ON AT SAVE LETTER/S -*
Each record is represented by basic::ZoneRule and the entire collection is represented by basic::ZonePolicy.
+*Each record is represented by basic::Info::ZoneRule and the entire collection is represented by basic::Info::ZonePolicy.
The Zone records define the region which follows a specific set of Rules for certain time periods (given by UNTIL below):
* Zone NAME GMTOFF RULES FORMAT [UNTIL] -*
Each record is represented by basic::ZoneEra and the entire collection is represented by basic::ZoneInfo.
-This class assumes that the various components of ZoneInfo, ZoneEra, and ZonePolicy, ZoneRule have a number of limitations and constraints which simplify the implementation of this class. The tzcompiler.py script will remove zones which do not meet these constraints when generating the structs defined by zonedb/zone_infos.h. The constraints are at least the following (see AceTimeTools/transformer.py for the authoratative algorithm):
+*Each record is represented by basic::Info::ZoneEra and the entire collection is represented by basic::Info::ZoneInfo.
+This class assumes that the various components of ZoneInfo, ZoneEra, and ZonePolicy, ZoneRule have a number of limitations and constraints which simplify the implementation of this class. The tzcompiler.py script will remove zones which do not meet these constraints when generating the structs defined by zonedb/zone_infos.h. The constraints are at least the following (see AceTimeTools/transformer.py for the authoratative algorithm):
Not thread-safe.
| ZIS | type of ZoneInfoStore, needed for implementations that require more complex brokers, and allows this template class to be independent of the exact type of the zone primary key |
| ZIB | type of ZoneInfoBroker |
| ZEB | type of ZoneEraBroker |
| ZPB | type of ZonePolicyBroker |
| ZRB | type of ZoneRuleBroker |
| B | broker type |
Definition at line 201 of file BasicZoneProcessor.h.
+Definition at line 191 of file BasicZoneProcessor.h.
Definition at line 372 of file BasicZoneProcessor.h. +Definition at line 363 of file BasicZoneProcessor.h. Member Function Documentation- -◆ equalsZoneKey()+ +◆ equalsZoneKey()
-template<typename ZIS , typename ZIB , typename ZEB , typename ZPB , typename ZRB >
+template<typename D >
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| const int16_t ace_time::internal::EpochConverterJulian::kInternalEpochYear = 2000 | +const int16_t ace_time::EpochConverterJulian::kInternalEpochYear = 2000 |
Must be a multiple of 400. Other parts of the AceTime library will probably use a different epoch year.
-Definition at line 26 of file EpochConverterJulian.h.
+Definition at line 25 of file EpochConverterJulian.h.
|
- AceTime
- 2.4.0
-
- Date and time classes for Arduino that support timezones from the TZ Database.
- |
-
This is the complete list of members for ace_time::ExtendedZone, including all inherited members.
-| ExtendedZone(const extended::ZoneInfo *zoneInfo) | ace_time::ExtendedZone | inline |
| ExtendedZone(const extended::ZoneInfoBroker &zoneInfo) | ace_time::ExtendedZone | inline |
| ExtendedZone(const ExtendedZone &)=default (defined in ace_time::ExtendedZone) | ace_time::ExtendedZone | |
| isNull() const | ace_time::ExtendedZone | inline |
| kname() const | ace_time::ExtendedZone | inline |
| operator=(const ExtendedZone &)=default (defined in ace_time::ExtendedZone) | ace_time::ExtendedZone | |
| printNameTo(Print &printer) const | ace_time::ExtendedZone | |
| printShortNameTo(Print &printer) const | ace_time::ExtendedZone | |
| stdOffset() const | ace_time::ExtendedZone | inline |
| zoneId() const | ace_time::ExtendedZone | inline |
|
- AceTime
- 2.4.0
-
- Date and time classes for Arduino that support timezones from the TZ Database.
- |
-
A thin wrapper around an extended::ZoneInfo data structure to provide a stable API access to some useful extended::ZoneInfo data. - More...
- -#include <ExtendedZone.h>
-Public Member Functions | |
| - | ExtendedZone (const extended::ZoneInfo *zoneInfo) |
| Constructor from a raw extended::ZoneInfo* pointer, intended for manual inspection of a ZoneInfo record. | |
| ExtendedZone (const extended::ZoneInfoBroker &zoneInfo) | |
| Constructor from an extended::ZoneInfoBroker, used by ExtendedZoneProcessor. More... | |
| - | ExtendedZone (const ExtendedZone &)=default |
| -ExtendedZone & | operator= (const ExtendedZone &)=default |
| -bool | isNull () const |
| Return true if zoneInfo is null. | |
| void | printNameTo (Print &printer) const |
| Print the full zone name to printer. More... | |
| void | printShortNameTo (Print &printer) const |
| Print the short pretty zone name to the printer. More... | |
| -uint32_t | zoneId () const |
| Return the zoneId of the current zoneInfo. | |
| -TimeOffset | stdOffset () const |
| Return the STDOFF of the last ZoneEra. | |
| -ace_common::KString | kname () const |
| Return the name as a KString. | |
A thin wrapper around an extended::ZoneInfo data structure to provide a stable API access to some useful extended::ZoneInfo data.
-The extended::ZoneInfo data struct is intended to be an opaque type to the users of this library.
- -Definition at line 24 of file ExtendedZone.h.
-
-
|
- -inline | -
Constructor from an extended::ZoneInfoBroker, used by ExtendedZoneProcessor.
-This allows the implementation details of ZoneInfoBroker to remain hidden.
- -Definition at line 38 of file ExtendedZone.h.
- -| void ace_time::ExtendedZone::printNameTo | -( | -Print & | -printer | ) | -const | -
Print the full zone name to printer.
-Example "America/Los_Angeles".
- -Definition at line 18 of file ExtendedZone.cpp.
- -| void ace_time::ExtendedZone::printShortNameTo | -( | -Print & | -printer | ) | -const | -
Print the short pretty zone name to the printer.
-Underscores are replaced with spaces. Example "Los Angeles".
- -Definition at line 25 of file ExtendedZone.cpp.
- -This is the complete list of members for ace_time::ExtendedZoneProcessor, including all inherited members.
A specific implementation of ExtendedZoneProcessorTemplate that uses the extended::ZoneXxxBrokers classes which read from 'zonedbx' files in PROGMEM flash memory. +
A specific implementation of ExtendedZoneProcessorTemplate that uses the extended::Info::ZoneXxxBrokers classes which read from 'zonedbx' files in PROGMEM flash memory. More...
#include <ExtendedZoneProcessor.h>
Public Member Functions | |
| - | ExtendedZoneProcessor (const extended::ZoneInfo *zoneInfo=nullptr) |
Public Member Functions inherited from ace_time::ExtendedZoneProcessorTemplate< extended::ZoneInfoStore, extended::ZoneInfoBroker, extended::ZoneEraBroker, extended::ZonePolicyBroker, extended::ZoneRuleBroker > | |
| + | |
| + | ExtendedZoneProcessor (const extended::Info::ZoneInfo *zoneInfo=nullptr) |
Public Member Functions inherited from ace_time::ExtendedZoneProcessorTemplate< extended::Info > | |
| bool | isLink () const override |
| Return true if timezone is a Link entry pointing to a Zone entry. | |
| + | |
| Return true if timezone is a Link entry pointing to a Zone entry. | |
| uint32_t | getZoneId () const override |
| Return the unique stable zoneId. | |
| + | |
| Return the unique stable zoneId. | |
| FindResult | findByLocalDateTime (const LocalDateTime &ldt) const override |
| Return the search results at given LocalDateTime. | |
| FindResult | findByEpochSeconds (acetime_t epochSeconds) const override |
| void | printNameTo (Print &printer) const override |
| Print a human-readable identifier (e.g. More... | |
| void | printShortNameTo (Print &printer) const override |
| Print a short human-readable identifier (e.g. More... | |
| void | printTargetNameTo (Print &printer) const override |
| Print the full identifier (e.g. More... | |
| -void | log () const |
| Used only for debugging. | |
| void | resetTransitionAllocSize () |
| Reset the TransitionStorage high water mark. More... | |
| uint8_t | getTransitionAllocSize () const |
| Get the largest allocation size of TransitionStorage. More... | |
| void | setZoneKey (uintptr_t zoneKey) override |
| Set the opaque zoneKey of this object to a new value, reseting any internally cached information. More... | |
| bool | equalsZoneKey (uintptr_t zoneKey) const override |
| Return true if ZoneProcessor is associated with the given opaque zoneKey. More... | |
| void | setZoneInfoStore (const extended::ZoneInfoStore *zoneInfoStore) |
| Set the zone info store at runtime. More... | |
| bool | initForEpochSeconds (acetime_t epochSeconds) const |
| Initialize using the epochSeconds. More... | |
| bool | initForYear (int16_t year) const |
| Initialize the zone rules cache, keyed by the "current" year. More... | |
| Return the search results at given LocalDateTime. | |
| FindResult | findByEpochSeconds (acetime_t epochSeconds) const override |
| void | printNameTo (Print &printer) const override |
| Print a human-readable identifier (e.g. More... | |
| void | printShortNameTo (Print &printer) const override |
| Print a short human-readable identifier (e.g. More... | |
| void | printTargetNameTo (Print &printer) const override |
| Print the full identifier (e.g. More... | |
| +void | log () const |
| Used only for debugging. | |
| void | resetTransitionAllocSize () |
| Reset the TransitionStorage high water mark. More... | |
| uint8_t | getTransitionAllocSize () const |
| Get the largest allocation size of TransitionStorage. More... | |
| void | setZoneKey (uintptr_t zoneKey) override |
| Set the opaque zoneKey of this object to a new value, reseting any internally cached information. More... | |
| bool | equalsZoneKey (uintptr_t zoneKey) const override |
| Return true if ZoneProcessor is associated with the given opaque zoneKey. More... | |
| void | setZoneInfoStore (const typename D::ZoneInfoStore *zoneInfoStore) |
| Set the zone info store at runtime. More... | |
| bool | initForEpochSeconds (acetime_t epochSeconds) const |
| Initialize using the epochSeconds. More... | |
| bool | initForYear (int16_t year) const |
| Initialize the zone rules cache, keyed by the "current" year. More... | |
Public Member Functions inherited from ace_time::ZoneProcessor | |
| uint8_t | getType () const |
| static const uint8_t | kTypeExtended = 4 |
| Unique TimeZone type identifier for ExtendedZoneProcessor. | |
| Unique TimeZone type identifier for ExtendedZoneProcessor. | |
Static Public Attributes inherited from ace_time::ExtendedZoneProcessorTemplate< extended::ZoneInfoStore, extended::ZoneInfoBroker, extended::ZoneEraBroker, extended::ZonePolicyBroker, extended::ZoneRuleBroker > | |
| static const uint8_t | kMaxTransitions |
| Max number of Transitions required for all Zones supported by this class. More... | |
Static Public Attributes inherited from ace_time::ExtendedZoneProcessorTemplate< extended::Info > | |
| static const uint8_t | kMaxTransitions |
| Max number of Transitions required for all Zones supported by this class. More... | |
A specific implementation of ExtendedZoneProcessorTemplate that uses the extended::ZoneXxxBrokers classes which read from 'zonedbx' files in PROGMEM flash memory.
+A specific implementation of ExtendedZoneProcessorTemplate that uses the extended::Info::ZoneXxxBrokers classes which read from 'zonedbx' files in PROGMEM flash memory.
-Definition at line 1175 of file ExtendedZoneProcessor.h.
+Definition at line 1169 of file ExtendedZoneProcessor.h.