this.endMode = checkRule(month, day, dayOfWeek);
  public void setEndRule(int month, int day, int dayOfWeek, int time)  {    this.endMode = checkRule(month, day, dayOfWeek);    this.endMonth = month;    this.endDay = day;    this.endDayOfWeek = Math.abs(dayOfWeek);    if (this.endTimeMode == WALL_TIME)    this.endTime = time;    else if (this.endTimeMode == STANDARD_TIME)      // Convert from STANDARD to DST      this.endTime = time + this.dstSavings;    else      // Convert from UTC to DST      this.endTime = time + this.rawOffset + this.dstSavings;    useDaylight = true;  }