[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avr-libc-commit] [2314] Correction for include/util/usa_dst.h
From: |
Mike Rice |
Subject: |
[avr-libc-commit] [2314] Correction for include/util/usa_dst.h |
Date: |
Fri, 29 Mar 2013 20:52:16 +0000 |
Revision: 2314
http://svn.sv.gnu.org/viewvc/?view=rev&root=avr-libc&revision=2314
Author: swfltek
Date: 2013-03-29 20:52:13 +0000 (Fri, 29 Mar 2013)
Log Message:
-----------
Correction for include/util/usa_dst.h
Modified Paths:
--------------
trunk/avr-libc/include/util/usa_dst.h
Modified: trunk/avr-libc/include/util/usa_dst.h
===================================================================
--- trunk/avr-libc/include/util/usa_dst.h 2013-03-29 14:55:46 UTC (rev
2313)
+++ trunk/avr-libc/include/util/usa_dst.h 2013-03-29 20:52:13 UTC (rev
2314)
@@ -90,19 +90,19 @@
week = week_of_month(&tmptr, 0);
hour = tmptr.tm_hour;
- if ((month > __DST_START_MONTH) && (month <
__DST_END_MONTH))
+ if ((month > DST_START_MONTH) && (month <
DST_END_MONTH))
return ONE_HOUR;
- if (month < __DST_START_MONTH)
+ if (month < DST_START_MONTH)
return 0;
- if (month > __DST_END_MONTH)
+ if (month > DST_END_MONTH)
return 0;
- if (month == __DST_START_MONTH) {
+ if (month == DST_START_MONTH) {
- if (week < __DST_START_WEEK)
+ if (week < DST_START_WEEK)
return 0;
- if (week > __DST_START_WEEK)
+ if (week > DST_START_WEEK)
return ONE_HOUR;
if (day_of_week > SUNDAY)
@@ -111,9 +111,9 @@
return ONE_HOUR;
return 0;
}
- if (week > __DST_END_WEEK)
+ if (week > DST_END_WEEK)
return 0;
- if (week < __DST_END_WEEK)
+ if (week < DST_END_WEEK)
return ONE_HOUR;
if (day_of_week > SUNDAY)
return 0;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [avr-libc-commit] [2314] Correction for include/util/usa_dst.h,
Mike Rice <=