hughesjr / rpms / tzdata

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