code: public void setEndRule(int endMonth, int endDay, int endDayOfWeek, int endTime, boolean after)
      {
          if (after) {
              setEndRule(endMonth, endDay, -endDayOfWeek, endTime);
          } else {
              setEndRule(endMonth, -endDay, -endDayOfWeek, endTime);
          }
      }
docs: Sets the daylight saving time end rule to a weekday before or after the given date within
  a month, e.g., the first Monday on or after the 8th.
  
  @param endMonth        The daylight saving time ending month. Month is
  a {@link Calendar#MONTH MONTH} field
  value (0-based. e.g., 9 for October).
  @param endDay          The day of the month on which the daylight saving time ends.
  @param endDayOfWeek    The daylight saving time ending day-of-week.
  @param endTime         The daylight saving ending time in local wall clock time,
  (in milliseconds within the day) which is local daylight
  time in this case.
  @param after           If true, this rule selects the first <code>endDayOfWeek</code> on
  or <em>after</em> <code>endDay</code>.  If false, this rule
  selects the last <code>endDayOfWeek</code> on or before
  <code>endDay</code> of the month.
  @exception IllegalArgumentException the <code>endMonth</code>, <code>endDay</code>,
  <code>endDayOfWeek</code>, or <code>endTime</code> parameters are out of range
  @since 1.2