var_dump($period->getEndDate()->getTimeZone()->getName());
var_dump($period->getDateInterval()->format('%R%y-%m-%d-%h-%i-%s'));
+ var_dump($period->getRecurrences());
+
+ $periodWithRecurrences = new DatePeriod($start, $interval, $recurrences);
+
+ var_dump($periodWithRecurrences->getRecurrences());
+ var_dump($periodWithRecurrences->getEndDate());
+
+ $periodWithRecurrencesWithoutStart = new DatePeriod($start, $interval, $recurrences, DatePeriod::EXCLUDE_START_DATE);
+
+ var_dump($periodWithRecurrences->getRecurrences());
+
?>
---EXPECTF--
+--EXPECT--
string(19) "2000-01-01 00:00:00"
string(13) "Europe/Berlin"
string(19) "2000-01-31 00:00:00"