hughesjr / rpms / tzdata

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