@Override public boolean isDateAllowed(LocalDate date){
  if ((date.getDayOfMonth() >= 7) && (date.getDayOfMonth() <= 11)) {
    return false;
  }
  if ((date.getDayOfWeek() == DayOfWeek.SATURDAY) && ((date.getDayOfMonth() % 2) == 1)) {
    return false;
  }
  return true;
}

@ Override public boolean isDateAllowed ( LocalDate date ) { if ( ( date . getDayOfMonth ( ) >= 7 ) && ( date . getDayOfMonth ( ) <= 11 ) ) { return false ; } if ( ( date . getDayOfWeek ( ) == DayOfWeek . SATURDAY ) && ( ( date . getDayOfMonth ( ) % 2 ) == 1 ) ) { return false ; } return true ; }
isdateallowed , return true if a date should be allowed , or false if a date should be vetoed .
