A time interface class. This class replicates the normal time functions, but goes a couple of steps further. mbed library 82 and prior has a defective gmtime function. Also, this class enables access to setting the time, and adjusting the accuracy of the RTC.

Dependencies:   CalendarPage

Dependents:   CI-data-logger-server WattEye X10Svr SSDP_Server

Revision:
19:ccdf8b6f6aa1
Parent:
18:dcd46f9e98fa
Child:
20:5ca2c94d46b8
--- a/TimeInterface.cpp	Wed Apr 12 13:44:41 2017 +0000
+++ b/TimeInterface.cpp	Sat Jul 29 14:06:45 2017 +0000
@@ -423,7 +423,7 @@
     int8_t  zone_offsets[10];
 };
 
-static struct dtconv    En_US = {
+static const struct dtconv    En_US = {
     {
         "Jan", "Feb", "Mar", "Apr", "May", "Jun",
         "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"