You are here

public function FixedReferenceDateInterval::calculateDate in Recurring Time Period 8

Calculates the end date and time for the period.

Overrides RecurringPeriodInterface::calculateDate

Deprecated

Use calculateEnd() instead.

File

src/Plugin/RecurringPeriod/FixedReferenceDateInterval.php, line 81

Class

FixedReferenceDateInterval
Provides a fixed date period.

Namespace

Drupal\recurring_period\Plugin\RecurringPeriod

Code

public function calculateDate(\DateTimeImmutable $start) {
  return $this
    ->calculateEnd($start);
}