public static boolean isTimeConflict(Time timeFrom,Time timeTo,Time otherTimeFrom,Time otherTimeTo){
  if (JKDateTimeUtil.isTimesEqaualed(timeFrom,otherTimeFrom) || JKDateTimeUtil.isTimesEqaualed(timeTo,otherTimeTo)) {
    return true;
  }
  if (timeFrom.after(otherTimeFrom) && timeFrom.before(otherTimeTo)) {
    return true;
  }
  if (timeTo.after(otherTimeFrom) && timeTo.before(otherTimeTo)) {
    return true;
  }
  if (timeFrom.before(otherTimeFrom) && timeTo.after(otherTimeTo)) {
    return true;
  }
  return false;
}

public static boolean isTimeConflict ( Time timeFrom , Time timeTo , Time otherTimeFrom , Time otherTimeTo ) { if ( JKDateTimeUtil . isTimesEqaualed ( timeFrom , otherTimeFrom ) || JKDateTimeUtil . isTimesEqaualed ( timeTo , otherTimeTo ) ) { return true ; } if ( timeFrom . after ( otherTimeFrom ) && timeFrom . before ( otherTimeTo ) ) { return true ; } if ( timeTo . after ( otherTimeFrom ) && timeTo . before ( otherTimeTo ) ) { return true ; } if ( timeFrom . before ( otherTimeFrom ) && timeTo . after ( otherTimeTo ) ) { return true ; } return false ; }
checks if is time conflict .
