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

Revision:
5:fde01b92a384
Parent:
4:c84afcfbac84
Child:
6:f4693f2d03e6
--- a/Time.h	Fri Jan 21 23:05:05 2011 +0000
+++ b/Time.h	Mon Jan 24 22:01:44 2011 +0000
@@ -182,7 +182,8 @@
     long getUnixTime();
 private:
     static TimeZoneEntry* _timeZoneEntries;
-    void readTimeZones();
+    static void readTimeZones();
+    static int getTimeOffset(TimeStamp* ts);
 };
 
 #endif
\ No newline at end of file