code: public boolean hasSameRules(TimeZone other) {
          if (this == other) {
              return true;
          }
          if (!(other instanceof SimpleTimeZone)) {
              return false;
          }
          SimpleTimeZone that = (SimpleTimeZone) other;
          return rawOffset == that.rawOffset &&
              useDaylight == that.useDaylight &&
              (!useDaylight
               // Only check rules if using DST
               || (dstSavings == that.dstSavings &&
                   startMode == that.startMode &&
                   startMonth == that.startMonth &&
                   startDay == that.startDay &&
                   startDayOfWeek == that.startDayOfWeek &&
                   startTime == that.startTime &&
                   startTimeMode == that.startTimeMode &&
                   endMode == that.endMode &&
                   endMonth == that.endMonth &&
                   endDay == that.endDay &&
                   endDayOfWeek == that.endDayOfWeek &&
                   endTime == that.endTime &&
                   endTimeMode == that.endTimeMode &&
                   startYear == that.startYear));
      }
docs: Returns <code>true</code> if this zone has the same rules and offset as another zone.
  @param other the TimeZone object to be compared with
  @return <code>true</code> if the given zone is a SimpleTimeZone and has the
  same rules and offset as this one
  @since 1.2