public boolean containsDate(YearMonthDay date) { return ((getStartDate().isEqual(date) || getStartDate().isBefore(date)) && (getEndDate().isEqual(date) || getEndDate().isAfter(date)));
public boolean containsDate(DateTime date) { YearMonthDay yearMonthDayDate = date.toYearMonthDay(); return containsDate(yearMonthDayDate);
    public boolean containsDate(YearMonthDay date) {    		return ((getStartDate().isEqual(date) || getStartDate().isBefore(date)) &&    				(getEndDate().isEqual(date) || getEndDate().isAfter(date)));    }