meteo-core/src/main/java/no/api/meteo/service/locationforecast/extras/LocationForecastHelper.java
public List<MeteoExtrasForecast> findHourlyPointForecastsFromNow(int hoursAhead) {
        List<MeteoExtrasForecast> pointExtrasForecasts = new ArrayList<>();
        ZonedDateTime now = getNow();
        for (int i = 0; i < hoursAhead; i++) {
            ZonedDateTime ahead = now.plusHours(i);
            Optional<PointForecast> pointForecast = getIndexer().getPointForecast(ahead);
            pointForecast.ifPresent(pof -> {
                Optional<PeriodForecast> periodForecast =
                        getIndexer().getTightestFitPeriodForecast(pof.getFrom());
                periodForecast.ifPresent(pef -> pointExtrasForecasts
                        .add(new MeteoExtrasForecast(pof, pef)));
            });
        }
        return pointExtrasForecasts;
    }
public List<MeteoExtrasForecast> findHourlyPointForecastsFromNow(int hoursAhead) {
        List<MeteoExtrasForecast> pointExtrasForecasts = new ArrayList<>();
        ZonedDateTime now = getNow();
        for (int i = 0; i < hoursAhead; i++) {
            ZonedDateTime ahead = now.plusHours(i);
            Optional<PointForecast> pointForecast = getIndexer().getPointForecast(ahead);
            pointForecast.ifPresent(pof -> {
                Optional<PeriodForecast> periodForecast =
                        getIndexer().getTightestFitPeriodForecast(pof.getFrom());
                periodForecast.ifPresent(pef -> pointExtrasForecasts
                        .add(new MeteoExtrasForecast(pof, pef)));
            });
        }
        return pointExtrasForecasts;
    }
Get all point forecasts from now and to the given hours ahead.

@param hoursAhead
The number of hours to look ahead for point forecasts.

@return List of found forecasts.