Documentation

CronExpression_AbstractField
in package
implements CronExpression_FieldInterface

Abstract CRON expression field

Tags
author

Michael Dowling mtdowling@gmail.com

Interfaces, Classes and Traits

CronExpression_FieldInterface
CRON field interface

Table of Contents

isIncrementsOfRanges()  : bool
Check if a value is an increments of ranges
isInIncrementsOfRanges()  : bool
Test if a value is within an increments of ranges (offset[-to]/step size)
isInRange()  : bool
Test if a value is within a range
isRange()  : bool
Check if a value is a range
isSatisfied()  : bool
Check to see if a field is satisfied by a value

Methods

isIncrementsOfRanges()

Check if a value is an increments of ranges

public isIncrementsOfRanges(string $value) : bool
Parameters
$value : string

Value to test

Return values
bool

isInIncrementsOfRanges()

Test if a value is within an increments of ranges (offset[-to]/step size)

public isInIncrementsOfRanges(string $dateValue, string $value) : bool
Parameters
$dateValue : string

Set date value

$value : string

Value to test

Return values
bool

isInRange()

Test if a value is within a range

public isInRange(string $dateValue, string $value) : bool
Parameters
$dateValue : string

Set date value

$value : string

Value to test

Return values
bool

isRange()

Check if a value is a range

public isRange(string $value) : bool
Parameters
$value : string

Value to test

Return values
bool

isSatisfied()

Check to see if a field is satisfied by a value

public isSatisfied(string $dateValue, string $value) : bool
Parameters
$dateValue : string

Date value to check

$value : string

Value to test

Return values
bool

Search results