You are here

public function Unlimited::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/Unlimited.php, line 33

Class

Unlimited
Provides a period that never ends.

Namespace

Drupal\recurring_period\Plugin\RecurringPeriod

Code

public function calculateDate(\DateTimeImmutable $start) {
  return self::UNLIMITED;
}