Interval justificationInterval = new Interval(getDate(), getEndDate());
    public boolean justificationForDay(YearMonthDay day) {        Interval justificationInterval = new Interval(getDate(), getEndDate());        DateTime dayAtMidnight = day.toDateTimeAtMidnight();        if (justificationInterval.contains(dayAtMidnight)) {            return true;        }        return false;    }