public function getPrevOccurrence($occurDate)
{
self::prepareDateElements(false);
$startDate = $this->startDate;
$candidates = $this->getOccurrencesBetween($startDate, $occurDate);
if (count($candidates)) {
$lastDate = array_pop($candidates);
if ($lastDate == $occurDate) {
$lastDate = array_pop($candidates);
}
return $lastDate;
}
return false;
}