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

Revisions of TimeInterface.cpp

Revision Date Message Actions
33:e49b25bdbfa5 2020-09-13 Correct gmtime and localtime apis. File  Diff  Annotate
30:2740e128a809 2019-04-03 Modify asctime to include the dst flag in its processing, in addition to the tzo. File  Diff  Annotate
26:9ee3fac64626 2019-01-14 Modified mktime to include the tzo_min factor that would have been previously set. File  Diff  Annotate
25:39b65d1fd1e6 2018-11-18 Minor change to debug build only File  Diff  Annotate
23:a89b319b552c 2018-06-10 Added minor diagnostic - for debug only File  Diff  Annotate
21:f3818e2e0370 2017-11-21 Updates for OS5 and integrate NTPClient for network time sync. File  Diff  Annotate
20:5ca2c94d46b8 2017-11-20 Updates to work with OS 5 File  Diff  Annotate
19:ccdf8b6f6aa1 2017-07-29 Move a data structure to const to reduce RAM footprint. File  Diff  Annotate
18:dcd46f9e98fa 2017-04-12 In strptime, only set the weekday if it was not parsed. File  Diff  Annotate
17:45dae5a72679 2017-04-12 Enhanced strptime to set the day of week correctly by interpreting the time value parameters. File  Diff  Annotate
13:17e1f5bb9b0e 2016-05-19 band-aid the strftime api to append UTC if there is a %Z in the formatter. File  Diff  Annotate
11:1d880a50da8a 2017-01-22 Documentation update and added a few more timezones File  Diff  Annotate
10:5734dbc2f5cc 2017-01-22 Added strptime, with a custom tzo enhancement File  Diff  Annotate
9:56c1041f7f32 2016-01-26 Improvements that deal with DST File  Diff  Annotate
7:1de342fa7840 2015-11-26 Improvements to support automatic DST adjustment. File  Diff  Annotate
6:c79cfe750416 2015-11-26 Improving the selection of DST. Can be set on/off, or automatic when a start/stop date and time are made available. File  Diff  Annotate
5:a5f50b5fb856 2015-08-06 no functional change File  Diff  Annotate
3:49f36b489b64 2014-06-28 Efforts focused on getting dst interface working. File  Diff  Annotate
2:65e0a25c7551 2014-06-22 Revised the TimeInterface class to use NTP as is, not to modify it. File  Diff  Annotate
1:2ee90f546f54 2014-06-14 Add timelocal() method so local time offset does not have to be added in every use of time(). File  Diff  Annotate
0:61112ca9193b 2014-06-08 A time interface class to emulate, but improve upon, the conventional time apis. File  Diff  Annotate