You are here

public function RecurringPeriodInterface::getNextPeriod in Recurring Time Period 8

Calculates the period after the given period.

Parameters

\Drupal\recurring_period\Datetime\Period $period: The date and time to begin the period from.

Return value

\Drupal\recurring_period\Datetime\Period The period value object.

1 method overrides RecurringPeriodInterface::getNextPeriod()
RecurringPeriodBase::getNextPeriod in src/Plugin/RecurringPeriod/RecurringPeriodBase.php
Calculates the period after the given period.

File

src/Plugin/RecurringPeriod/RecurringPeriodInterface.php, line 147

Class

RecurringPeriodInterface
Defines an interface for recurring period plugins.

Namespace

Drupal\recurring_period\Plugin\RecurringPeriod

Code

public function getNextPeriod(Period $period);