This library takes the current time (which must be set to UTC, e.g. via an NTP call), and applies a timezone definition (loaded at startup) to calculate the local time. This includes the handling of daylight saving. See http://mbed.org/users/hlipka/notebook/time-zone-handling/ for more information (esp. how to get a time zone definition file).
Dependents: CubiScan 000-FIN_youcef 005_ESSAI_youcef
Changes
Revision | Date | Who | Commit message |
---|---|---|---|
7:0c7207d674d3 | 2011-02-18 | hlipka | added license |
6:f4693f2d03e6 | 2011-02-01 | hlipka | added support for day handling (stored as time=00:00:00) |
5:fde01b92a384 | 2011-01-24 | hlipka | bugfix: read time zones correctly when no current is set |
4:c84afcfbac84 | 2011-01-21 | hlipka | reduced memory consumption (using packed data structures and a linked list instead of std::list), and added an asChar() method for easier printf()ing |
3:2ad51ec5ef6e | 2011-01-04 | hlipka | fixed reading of time zone entries (was missing the beginning of the year), months are starting with 1 now, updated documentation |
2:7946f902f2d4 | 2010-12-22 | hlipka | updated documentation |
1:81f7dd124217 | 2010-12-22 | hlipka | added proper documentation |
0:ab93db24fcc8 | 2010-12-22 | hlipka | initial version |