src/Amadeus/Client/Struct/PriceXplorer/ExtremeSearch.php
protected function loadDepartureDateLimits(PriceXplorerExtremeSearchOptions $params)
    {
        if ($params->earliestDepartureDate instanceof \DateTime || $params->latestDepartureDate instanceof \DateTime) {
            $this->travelDates = new TravelDates($params->earliestDepartureDate, $params->latestDepartureDate);
        }
    }
protected function loadDepartureDateLimits(PriceXplorerExtremeSearchOptions $params)
    {
        if ($params->earliestDepartureDate instanceof \DateTime || $params->latestDepartureDate instanceof \DateTime) {
            $this->travelDates = new TravelDates($params->earliestDepartureDate, $params->latestDepartureDate);
        }
    }
@param PriceXplorerExtremeSearchOptions $params