You are here

public function DateRecurDefaultRSet::getStartDate in Recurring Dates Field 8

1 call to DateRecurDefaultRSet::getStartDate()
DateRecurDefaultRSet::_fixDates in src/DateRecurDefaultRSet.php

File

src/DateRecurDefaultRSet.php, line 80

Class

DateRecurDefaultRSet

Namespace

Drupal\date_recur

Code

public function getStartDate() {
  if (!empty($this->rrules[0])) {
    return $this->rrules[0]
      ->getStartDate();
  }
  return FALSE;
}