public static boolean strictlyBetween(Date baseDate,Date startDate,Date endDate){
  if (startDate.equals(endDate) || endDate.before(startDate)) {
    return false;
  }
  if (startDate.before(baseDate) && endDate.after(baseDate)) {
    return true;
  }
  return false;
}

public static boolean strictlyBetween ( Date baseDate , Date startDate , Date endDate ) { if ( startDate . equals ( endDate ) || endDate . before ( startDate ) ) { return false ; } if ( startDate . before ( baseDate ) && endDate . after ( baseDate ) ) { return true ; } return false ; }
tests if the given base date is strictly between the given start date and end date .
