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.
Dependents: CI-data-logger-server WattEye X10Svr SSDP_Server
Diff: TimeInterface.h
- Revision:
- 30:2740e128a809
- Parent:
- 26:9ee3fac64626
diff -r 9ee3fac64626 -r 2740e128a809 TimeInterface.h --- a/TimeInterface.h Mon Jan 14 03:17:30 2019 +0000 +++ b/TimeInterface.h Wed Apr 03 22:26:47 2019 +0000 @@ -218,7 +218,7 @@ /// Convert a tm_ex structure into an ASCII printable "time Www Mmm dd hh:mm:ss yyyy" /// /// @note Unlike the standard asctime, this takes a pointer to a tm_ex, which - /// has a time zone offset element. + /// has daylight savings time flag and a time zone offset element. /// /// @note Watch out for race conditions as this returns a pointer to a /// shared buffer.