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

AceTime.h
1 /*
2 * MIT License
3 * Copyright (c) 2018 Brian T. Park
4 */
5
17 #ifndef ACE_TIME_ACE_TIME_H
18 #define ACE_TIME_ACE_TIME_H
19
20 // Blacklist boards using new Arduino API due to incompatibilities. This
21 // currently includes all megaAVR boards and SAMD21 boards using arduino::samd
22 // >= 1.8.10. Boards using arduino:samd <= 1.8.9 or SparkFun:samd are fine.
23 #if defined(ARDUINO_API_VERSION)
24 #error Platforms using ArduinoCore-API not supported
25 #endif
26
27 #include "zoneinfo/compat.h"
28 #include "zoneinfo/infos.h"
29 #include "zoneinfo/brokers.h"
30 #include "ace_time/common/common.h"
31 #include "ace_time/common/DateStrings.h"
32 #include "ace_time/common/DateConv.h"
33 #include "ace_time/EpochConverterJulian.h"
34 #include "ace_time/EpochConverterHinnant.h"
35 #include "ace_time/Epoch.h"
36 #include "ace_time/LocalDate.h"
37 #include "ace_time/local_date_mutation.h"
38 #include "ace_time/LocalTime.h"
39 #include "ace_time/LocalDateTime.h"
40 #include "ace_time/TimeOffset.h"
41 #include "ace_time/time_offset_mutation.h"
42 #include "ace_time/OffsetDateTime.h"
43 #include "ace_time/offset_date_time_mutation.h"
44 #include "ace_time/ZoneProcessor.h"
45 #include "ace_time/BasicZoneProcessor.h"
46 #include "ace_time/ExtendedZoneProcessor.h"
47 #include "ace_time/CompleteZoneProcessor.h"
48 #include "ace_time/ZoneProcessorCache.h"
49 #include "ace_time/ZoneRegistrar.h"
50 #include "ace_time/ZoneManager.h"
51 #include "ace_time/ZoneSorterByName.h"
52 #include "ace_time/ZoneSorterByOffsetAndName.h"
53 #include "ace_time/TimeZoneData.h"
54 #include "ace_time/TimeZone.h"
55 #include "ace_time/BasicZone.h"
56 #include "ace_time/ExtendedZone.h"
57 #include "ace_time/ZonedDateTime.h"
58 #include "ace_time/zoned_date_time_mutation.h"
59 #include "ace_time/TimePeriod.h"
60 #include "ace_time/time_period_mutation.h"
61 #include "ace_time/ace_time_utils.h"
62 #include "zonedb/zone_policies.h"
63 #include "zonedb/zone_infos.h"
64 #include "zonedb/zone_registry.h"
65 #include "zonedbx/zone_policies.h"
66 #include "zonedbx/zone_infos.h"
67 #include "zonedbx/zone_registry.h"
68 #include "zonedbc/zone_policies.h"
69 #include "zonedbc/zone_infos.h"
70 #include "zonedbc/zone_registry.h"
71
72 // Version format: xxyyzz == "xx.yy.zz"
73 #define ACE_TIME_VERSION 20400
74 #define ACE_TIME_VERSION_STRING "2.4.0"
75
76 #endif
brokers.h
The brokers in the basic:: and extended:: namespaces are identical in code.
common.h
Identifiers used by implementation code which need to be publically exported.
compat.h
Macros and definitions that provide a consistency layer among the various Arduino boards for compatib...
offset_date_time_mutation.h
Methods that mutate an OffsetDateTime object.
time_offset_mutation.h
Methods that mutate a TimeOffset object.
time_period_mutation.h
Methods that mutate a TimePeriod object.
zoned_date_time_mutation.h
Methods that mutate a ZonedDateTime object.