You are here

public function DateRange::getEnd in Recurring Dates Field 8.2

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

Get the end date.

Return value

\DateTimeInterface The end date.

File

src/DateRange.php, line 75

Class

DateRange
Defines a date range.

Namespace

Drupal\date_recur

Code

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