You are here

public function DateRange::getStart in Recurring Dates Field 8.2

Same name and namespace in other branches
  1. 3.x src/DateRange.php \Drupal\date_recur\DateRange::getStart()
  2. 3.0.x src/DateRange.php \Drupal\date_recur\DateRange::getStart()
  3. 3.1.x src/DateRange.php \Drupal\date_recur\DateRange::getStart()

Get the start date.

Return value

\DateTimeInterface The start date.

File

src/DateRange.php, line 46

Class

DateRange
Defines a date range.

Namespace

Drupal\date_recur

Code

public function getStart() : \DateTimeInterface {
  return clone $this->start;
}