AceTime
0.5.2
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.
src
ace_time
internal
ZonePolicy.h
1
/*
2
* MIT License
3
* Copyright (c) 2018 Brian T. Park
4
*/
5
6
#ifndef ACE_TIME_ZONE_POLICY_H
7
#define ACE_TIME_ZONE_POLICY_H
8
9
#include <stdint.h>
10
11
namespace
ace_time
{
12
13
// The data structures in ZoneInfo.inc are #included into the basic and
14
// extended namespaces, instead of subclassing them into the namespaces,
15
// because C++11 does not allow subclassed structs to be initialized using the
16
// curly-brace initializers. I believe C++14 removes this restriction but
17
// Arduino is currently limited to C++11.
18
19
// Data structures for BasicZoneProcessor
20
namespace
basic {
21
#include "ZonePolicy.inc"
22
}
23
24
// Data structures for ExtendedZoneProcessor
25
namespace
extended {
26
#include "ZonePolicy.inc"
27
}
28
29
}
30
31
#endif
ace_time
Definition:
BasicZone.h:15
Generated by
1.8.13