question: public static boolean isDateInRange ( final Date dateToCheck , final Date startDate , final Date endDate ) { return ! ( ( startDate != null && dateToCheck . before ( startDate ) ) || ( endDate != null && dateToCheck . after ( endDate ) ) ) ; }
target:  Returns weather the date is within a given range.