hughesjr / rpms / tzdata

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