getTabular()->getBetween( $forecast->getSunset(), $forecast->getSunrise()->add(new \DateInterval('P1D')) ); echo '
'; foreach ($range->getVariations()->getData() as $data) { echo $data['time']->getFrom()->format("H:i"); } //echo sprintf("%s: %s\n", $data['time']->getFrom()->format("H:i"), join(", ", $data['entities'])); $f = current(iterator_to_array($range->getIterator())); echo $f->getWindSpeed()->convertTo('ft/s'); echo "\n"; $stat = $range->getStatistics(); echo "\n"; echo $stat->getAverageTemperature(); echo "\n"; echo $stat->getAverageWindSpeed(); echo "\n"; var_dump($stat->getAverageSymbols()); var_dump($stat->getMostCommonSymbol()); echo "\n"; foreach ($forecast->getCredit() as $c) echo $c . "\n"; ?>