WordPress at Your Fingertips
function is not described

CronExpression_AbstractField::isSatisfied() public WC 1.0

Check to see if a field is satisfied by a value

{} It's a method of the class: CronExpression_AbstractField{}

No Hooks.

Return

true|false.

Usage

$CronExpression_AbstractField = new CronExpression_AbstractField();
$CronExpression_AbstractField->isSatisfied( $dateValue, $value );
$dateValue(string) (required)
Date value to check
$value(string) (required)
Value to test

Code of CronExpression_AbstractField::isSatisfied() WC 6.1.1

public function isSatisfied($dateValue, $value)
{
    if ($this->isIncrementsOfRanges($value)) {
        return $this->isInIncrementsOfRanges($dateValue, $value);
    } elseif ($this->isRange($value)) {
        return $this->isInRange($dateValue, $value);
    }

    return $value == '*' || $dateValue == $value;
}