PHP 클래스 Cron\AbstractField

상속: implements cron\FieldInterface
파일 보기 프로젝트 열기: mtdowling/cron-expression

공개 메소드들

메소드 설명
getRangeForExpression ( string $expression, integer $max ) : array Returns a range of values for the given cron expression
isInIncrementsOfRanges ( string $dateValue, string $value ) : boolean Test if a value is within an increments of ranges (offset[-to]/step size)
isInRange ( string $dateValue, string $value ) : boolean Test if a value is within a range
isIncrementsOfRanges ( string $value ) : boolean Check if a value is an increments of ranges
isRange ( string $value ) : boolean Check if a value is a range
isSatisfied ( string $dateValue, string $value ) : boolean Check to see if a field is satisfied by a value

메소드 상세

getRangeForExpression() 공개 메소드

Returns a range of values for the given cron expression
public getRangeForExpression ( string $expression, integer $max ) : array
$expression string The expression to evaluate
$max integer Maximum offset for range
리턴 array

isInIncrementsOfRanges() 공개 메소드

Test if a value is within an increments of ranges (offset[-to]/step size)
public isInIncrementsOfRanges ( string $dateValue, string $value ) : boolean
$dateValue string Set date value
$value string Value to test
리턴 boolean

isInRange() 공개 메소드

Test if a value is within a range
public isInRange ( string $dateValue, string $value ) : boolean
$dateValue string Set date value
$value string Value to test
리턴 boolean

isIncrementsOfRanges() 공개 메소드

Check if a value is an increments of ranges
public isIncrementsOfRanges ( string $value ) : boolean
$value string Value to test
리턴 boolean

isRange() 공개 메소드

Check if a value is a range
public isRange ( string $value ) : boolean
$value string Value to test
리턴 boolean

isSatisfied() 공개 메소드

Check to see if a field is satisfied by a value
public isSatisfied ( string $dateValue, string $value ) : boolean
$dateValue string Date value to check
$value string Value to test
리턴 boolean