meteo-core/src/main/java/no/api/meteo/service/locationforecast/extras/MeteoForecastIndexer.java
Optional<PeriodForecast> getWidestFitPeriodForecast(ZonedDateTime from) {
        if (from == null) {
            return Optional.empty();
        }
        return getWidestFitScoreForecast(from).map(ScoreForecast::getPeriodForecast);
    }
Optional<PeriodForecast> getWidestFitPeriodForecast(ZonedDateTime from) {
        if (from == null) {
            return Optional.empty();
        }
        return getWidestFitScoreForecast(from).map(ScoreForecast::getPeriodForecast);
    }
Optional < PeriodForecast > getWidestFitPeriodForecast ( ZonedDateTime from ) { if ( from == null ) { return Optional . empty ( ) ; } return getWidestFitScoreForecast ( from ) . map ( ScoreForecast :: getPeriodForecast ) ; }
/*
Find the period forecast that is the widest fit for a point forecast.

<p>We use the exact same kind of logic to find the widest fit as we do for the tightest fit. The only change is
that we invert the span tightScore. Meaning that a large span will tightScore lower than a small span</p>
/ * Find the period forecast that is the widest fit for a point forecast .