code: public ZoneRulesBuilder addRuleToWindow(
              int year,
              Month month,
              int dayOfMonthIndicator,
              LocalTime time,
              boolean timeEndOfDay,
              TimeDefinition timeDefinition,
              int savingAmountSecs) {
          return addRuleToWindow(year, year, month, dayOfMonthIndicator, null, time, timeEndOfDay, timeDefinition, savingAmountSecs);
      }
docs: Adds a single transition rule to the current window.
  <p>
  This adds a rule such that the offset, expressed as a daylight savings amount,
  changes at the specified date-time.
  
  @param year  the year of the transition, from MIN_VALUE to MAX_VALUE
  @param month  the month of the transition, not null
  @param dayOfMonthIndicator  the day-of-month of the transition, adjusted by dayOfWeek,
  from 1 to 31 adjusted later, or -1 to -28 adjusted earlier from the last day of the month
  @param time  the time that the transition occurs as defined by timeDefintion, not null
  @param timeEndOfDay  whether midnight is at the end of day
  @param timeDefinition  the definition of how to convert local to actual time, not null
  @param savingAmountSecs  the amount of saving from the standard offset after the transition in seconds
  @return this, for chaining
  @throws DateTimeException if a date-time field is out of range
  @throws IllegalStateException if no window has yet been added
  @throws IllegalStateException if the window already has fixed savings
  @throws IllegalStateException if the window has reached the maximum capacity of 2000 rules