hughesjr / rpms / tzdata

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