AceTime 3.0.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 //
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 //
45 #include "ace_time/ZoneProcessor.h"
46 #include "ace_time/BasicZoneProcessor.h"
47 #include "ace_time/ExtendedZoneProcessor.h"
48 #include "ace_time/CompleteZoneProcessor.h"
49 #include "ace_time/ZoneProcessorCache.h"
50 #include "ace_time/ZoneRegistrar.h"
51 #include "ace_time/Zone.h"
52 #include "ace_time/ZoneManager.h"
53 #include "ace_time/ZoneSorterByName.h"
54 #include "ace_time/ZoneSorterByOffsetAndName.h"
55 #include "ace_time/TimeZoneData.h"
56 #include "ace_time/TimeZone.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 //
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 30000
74 #define ACE_TIME_VERSION_STRING "3.0.0"
75
76 #endif
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.