hughesjr / rpms / tzdata

Forked from rpms/tzdata 2 years ago
Clone
ad04f1
diff -r c8a71253d6e2 -r 189490f29d1e make/src/classes/build/tools/tzdb/ZoneRulesBuilder.java
ad04f1
--- javazic-1.8/build/tools/tzdb/ZoneRulesBuilder.java	Thu Oct 23 11:42:20 2014 +0200
ad04f1
+++ javazic-1.8/build/tools/tzdb/ZoneRulesBuilder.java	Mon Dec 29 21:42:22 2014 +0300
ad04f1
@@ -491,10 +491,10 @@
ad04f1
                 TZRule rule = new TZRule(year, month, dayOfMonthIndicator, dayOfWeek, time, timeEndOfDay, timeDefinition, savingAmountSecs);
ad04f1
                 if (lastRule) {
ad04f1
                     lastRuleList.add(rule);
ad04f1
-                    maxLastRuleStartYear = Math.max(startYear, maxLastRuleStartYear);
ad04f1
                 } else {
ad04f1
                     ruleList.add(rule);
ad04f1
                 }
ad04f1
+                maxLastRuleStartYear = Math.max(startYear, maxLastRuleStartYear);
ad04f1
                 year++;
ad04f1
             }
ad04f1
         }
ad04f1
--
ad04f1
cgit v0.9.2