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

Auto generated API documentation and code listings for TimeInterface

Classes

NTPClient NTP Client to update the mbed's RTC using a remote time server
TimeInterface TimeInterface class is much like the normal c-style time.h interface, but is extended with time-zone support, and clock-adjustment support (which permits tuning the clock) for more accuracy
tm_ex The tm_ex structure is patterned after the traditional tm struct, however it adds an element - the time zone offset in minutes

Code

NTPClient.cpp [code]
NTPClient.h [code] NTP Client header file
TimeInterface.cpp [code]
TimeInterface.h [code]