CronExpression_YearField::isSatisfiedBy()publicWC 1.0

{@inheritdoc}

Method of the class: CronExpression_YearField{}

No Hooks.

Return

null. Nothing.

Usage

$CronExpression_YearField = new CronExpression_YearField();
$CronExpression_YearField->isSatisfiedBy( $date, $value );
$date(DateTime) (required)
-
$value (required)
-

CronExpression_YearField::isSatisfiedBy() code WC 7.3.0

public function isSatisfiedBy(DateTime $date, $value)
{
    return $this->isSatisfied($date->format('Y'), $value);
}