CronExpression_YearField::validate()publicWC 1.0

{@inheritdoc}

Method of the class: CronExpression_YearField{}

No Hooks.

Return

null. Nothing.

Usage

$CronExpression_YearField = new CronExpression_YearField();
$CronExpression_YearField->validate( $value );
$value (required)
-

CronExpression_YearField::validate() code WC 7.3.0

public function validate($value)
{
    return (bool) preg_match('/[\*,\/\-0-9]+/', $value);
}