US DST Rules changed in 2007...

This commit is contained in:
Andrew Johnson
2007-02-22 22:06:04 +00:00
parent 37c1049e47
commit a184041ea0
+5
View File
@@ -131,8 +131,13 @@
* time), the two values would be 2 and 1, respectively (assuming
* TS_DST_HRS_ADD is 1).
*----------------------------------------------------------------------------*/
#if 0 /* Years up to & including 2006 */
#define TS_DST_BEGIN -90 /* first Sun in Apr (Apr 1 = 90) */
#define TS_DST_END 303 /* last Sun in Oct (Oct 31 = 303) */
#else /* Years from 2007 */
#define TS_DST_BEGIN (59+14) /* second Sun in Mar (Mar 1 = 59) */
#define TS_DST_END -304 /* first Sun in Nov (Nov 1 = 304) */
#endif
#define TS_DST_HOUR_ON 2 /* 2 a.m. (standard time) */
#define TS_DST_HOUR_OFF 1 /* 2 a.m. (1 a.m. standard time) */
#define TS_DST_HRS_ADD 1 /* add one hour */