You are here

public function DateRange::getEnd in Recurring Dates Field 3.x

Same name and namespace in other branches
  1. 8.2 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;
}