private boolean includes(LocalDate date) {
            if (start.isPresent() && date.isBefore(start.get())) return false;
            if (end.isPresent() && date.isAfter(end.get())) return false;
            return true;
        }
Returns whether includes the given date
config-model-api/src/main/java/com/yahoo/config/application/api/TimeWindow.java