Date and time classes for Arduino supporting the IANA TZ Database time zones to convert epoch seconds to date and time components in different time zones.
Update ExtendedZoneProcessor::getOffsetDateTime(acetime_t) to
calculate the OffsetDateTime::fold() as an output parameter.
Update ExtendedZoneProcessor::getOffsetDateTime(const LocalDateTime&) to handle LocalDateTime::fold() as an input
parameter.
Increases flash usage of ExtendedZoneProcessor by around 600 bytes
on AVR, and 400-600 bytes on 32-bit processors.
Add toUnixSeconds64() and forUnixSeconds64() methods to
LocalDate, LocalDateTime, OffsetDateTime, ZonedDateTime.
These use 64-bit int64_t integers, which allows Unix seconds to be
used up to 2068-01-19T03:14:07Z (which is the limit of these
various classes due to the internal use of 32-bit acetime_t).
These methods make it easier to interoperate with the time_t typedef
for int64_t on the ESP8266 and ESP32 platforms.
Add EspTime app that shows how to integrate
the SNTP client on the ESP8266 and ESP32 platforms with AceTime.
ZoneSorterByName
andZoneSorterByOffsetAndName
.TransitionStorage::findTransition()
tofindTransitionForSeconds()
for better self-documentation.fold
parameter to control behavior around DST gaps and overlaps.fold
parameter is intended to be identical to Python PEP 495.LocalTime::fold()
,LocalDateTime::fold()
,OffsetDateTime::fold()
,ZonedDateTime::fold()
.ExtendedZoneProcessor::getOffsetDateTime(acetime_t)
to calculate theOffsetDateTime::fold()
as an output parameter.ExtendedZoneProcessor::getOffsetDateTime(const LocalDateTime&)
to handleLocalDateTime::fold()
as an input parameter.ExtendedZoneProcessor
by around 600 bytes on AVR, and 400-600 bytes on 32-bit processors.toUnixSeconds64()
andforUnixSeconds64()
methods toLocalDate
,LocalDateTime
,OffsetDateTime
,ZonedDateTime
.int64_t
integers, which allows Unix seconds to be used up to 2068-01-19T03:14:07Z (which is the limit of these various classes due to the internal use of 32-bitacetime_t
).time_t
typedef forint64_t
on the ESP8266 and ESP32 platforms.