private Object findOffsetInfo(LocalDateTime dt,ZoneOffsetTransition trans){
  LocalDateTime localTransition=trans.getDateTimeBefore();
  if (trans.isGap()) {
    if (dt.isBefore(localTransition)) {
      return trans.getOffsetBefore();
    }
    if (dt.isBefore(trans.getDateTimeAfter())) {
      return trans;
    }
 else {
      return trans.getOffsetAfter();
    }
  }
 else {
    if (dt.isBefore(localTransition) == false) {
      return trans.getOffsetAfter();
    }
    if (dt.isBefore(trans.getDateTimeAfter())) {
      return trans.getOffsetBefore();
    }
 else {
      return trans;
    }
  }
}

private Object findOffsetInfo ( LocalDateTime dt , ZoneOffsetTransition trans ) { LocalDateTime localTransition = trans . getDateTimeBefore ( ) ; if ( trans . isGap ( ) ) { if ( dt . isBefore ( localTransition ) ) { return trans . getOffsetBefore ( ) ; } if ( dt . isBefore ( trans . getDateTimeAfter ( ) ) ) { return trans ; } else { return trans . getOffsetAfter ( ) ; } } else { if ( dt . isBefore ( localTransition ) == false ) { return trans . getOffsetAfter ( ) ; } if ( dt . isBefore ( trans . getDateTimeAfter ( ) ) ) { return trans . getOffsetBefore ( ) ; } else { return trans ; } } }
finds the offset info for a local date - time and transition .
