public boolean isDefinedInDate(YearMonthDay date, int weekNumber) {
public boolean isDefinedInDate(YearMonthDay date, int weekNumber, int maxWorkWeek) {
    public boolean isDefinedInDate(YearMonthDay date, int weekNumber) {        System.out.println("date: " + date + "  week number:" + weekNumber);        DateTime dateAtMidnight = date.toDateTimeAtMidnight();        if (getWorkWeek().contains(dateAtMidnight) && getPeriodicity().occur(weekNumber)) {            return true;        } else {            return false;        }    }