if (holiday.getDate().isEqual( new YearMonthDay(0, thisDay.getMonthOfYear(), thisDay.getDayOfMonth())) || holiday.getDate().isEqual(thisDay)) { if (holiday.getLocality() == null || holiday.getLocality().equals(campus.getSpaceInformation().getLocality())) { return true; }
if ((holiday.getLocality() == null || holiday.getLocality() == campus.getSpaceInformation().getLocality()) && holiday.getDate().isMatch(thisDay.toDateMidnight())) { return true;
    public boolean isHoliday(YearMonthDay thisDay) {        Campus campus = getAssiduousnessCampus(thisDay);        if (campus != null) {            for (Holiday holiday : getRootDomainObject().getHolidays()) {                if (holiday.getDate().isEqual(                        new YearMonthDay(0, thisDay.getMonthOfYear(), thisDay.getDayOfMonth()))                        || holiday.getDate().isEqual(thisDay)) {                    if (holiday.getLocality() == null                            || holiday.getLocality().equals(campus.getSpaceInformation().getLocality())) {                        return true;                    }                }            }        }        return false;    }