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:
- 26:9ee3fac64626
- Parent:
- 24:45a9e7081499
- Child:
- 30:2740e128a809
diff -r 45a9e7081499 -r 9ee3fac64626 TimeInterface.h --- a/TimeInterface.h Mon Aug 13 00:54:52 2018 +0000 +++ b/TimeInterface.h Mon Jan 14 03:17:30 2019 +0000 @@ -290,6 +290,9 @@ /// Convert a tm_ex structure (an extended time structure) to a time_t /// value. /// + /// This function also sets the tzo_min element of the tm_ex structure + /// from the previously set tzo_min. + /// /// @param[in] timeptr is a pointer to a tm_ex structure. /// @returns the computed time_t value. ///