public ZoneRulesBuilder addRuleToWindow(LocalDateTime transitionDateTime,TimeDefinition timeDefinition,int savingAmountSecs){
  Objects.requireNonNull(transitionDateTime,"transitionDateTime");
  return addRuleToWindow(transitionDateTime.getYear(),transitionDateTime.getYear(),transitionDateTime.getMonth(),transitionDateTime.getDayOfMonth(),-1,transitionDateTime.getTime(),false,timeDefinition,savingAmountSecs);
}

public ZoneRulesBuilder addRuleToWindow ( LocalDateTime transitionDateTime , TimeDefinition timeDefinition , int savingAmountSecs ) { Objects . requireNonNull ( transitionDateTime , "transitionDateTime" ) ; return addRuleToWindow ( transitionDateTime . getYear ( ) , transitionDateTime . getYear ( ) , transitionDateTime . getMonth ( ) , transitionDateTime . getDayOfMonth ( ) , - 1 , transitionDateTime . getTime ( ) , false , timeDefinition , savingAmountSecs ) ; }
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 .
