hughesjr / rpms / tzdata

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