private static Optional<LocalDate> optionalDate(String date) {
            return Optional.of(date).filter(s -> !s.isEmpty()).map(LocalDate::parse);
        }
Returns whether includes the given date
config-model-api/src/main/java/com/yahoo/config/application/api/TimeWindow.java