public MeteoData<Sunrise> fetchContent(double longitude, double latitude, LocalDate date) throws MeteoException {
        MeteoResponse response = getMeteoClient().fetchContent(
                createServiceUriBuilder()
                        .addParameter(PARAM_LATITUDE, latitude)
                        .addParameter(PARAM_LONGITUDE, longitude)
                        .addParameter(PARAM_DATE, zonedDateTimeToYyyyMMdd(date)).build());
        return new MeteoData<>(parser.parse(response.getData()), response);
    }
public MeteoData < Sunrise > fetchContent ( double longitude , double latitude , LocalDate date ) throws MeteoException { MeteoResponse response = getMeteoClient ( ) . fetchContent ( createServiceUriBuilder ( ) . addParameter ( PARAM_LATITUDE , latitude ) . addParameter ( PARAM_LONGITUDE , longitude ) . addParameter ( PARAM_DATE , zonedDateTimeToYyyyMMdd ( date ) ) . build ( ) ) ; return new MeteoData < > ( parser . parse ( response . getData ( ) ) , response ) ; }
Fetch a Sunrise from the MET API based on a given longitude, latitude and date.

@param longitude
The longitude of the location where the Sunrise should be fetched from.
@param latitude
The latitude of the location where the Sunrise should be fetched from.
@param date
The date to fetch the Sunrise object for.

@return A MeteoData object containing response information and sunrise result converted into a Sunrise object.

@throws MeteoException
If a problem occurred while fetching or parsing the MET data.