public boolean isDateAllowed ( LocalDate date ) { if ( date == null ) { return allowEmptyDates ; } return ( ! ( InternalUtilities . isDateVetoed ( vetoPolicy , date ) ) ) ; }
isDateAllowed This checks to see if the specified date is allowed by any currently set veto policy and allowed by the current setting of allowEmptyDates .