protected function removeOutOfRangeEvents(\DateTime $fromDate, \DateTime $toDate)
	{
		// Remove events that do not occur within the date range
		$this->allEvents = array_filter($this->allEvents, function ($event) use ($fromDate, $toDate) {

			if ($event->getStartDate() <= $toDate && $event->getEndDate() >= $fromDate) {
				return true;
			}

			return false;
		});
	}