[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/libraries/vendor/dragonmantank/cron-expression/src/Cron/ -> AbstractField.php (summary)

Abstract CRON expression field.

File Size: 346 lines (10 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 11 functions

  __construct()
  isSatisfied()
  isRange()
  isIncrementsOfRanges()
  isInRange()
  isInIncrementsOfRanges()
  getRangeForExpression()
  convertLiterals()
  validate()
  timezoneSafeModify()
  setTimeHour()

Functions
Functions that are not part of a class:

__construct()   X-Ref
Constructor


isSatisfied(int $dateValue, string $value)   X-Ref
Check to see if a field is satisfied by a value.

param: int $dateValue Date value to check
param: string $value Value to test
return: bool

isRange(string $value)   X-Ref
Check if a value is a range.

param: string $value Value to test
return: bool

isIncrementsOfRanges(string $value)   X-Ref
Check if a value is an increments of ranges.

param: string $value Value to test
return: bool

isInRange(int $dateValue, $value)   X-Ref
Test if a value is within a range.

param: int $dateValue Set date value
param: string $value Value to test
return: bool

isInIncrementsOfRanges(int $dateValue, string $value)   X-Ref
No description

getRangeForExpression(string $expression, int $max)   X-Ref
Returns a range of values for the given cron expression.

param: string $expression The expression to evaluate
param: int $max Maximum offset for range
return: array

convertLiterals(string $value)   X-Ref
Convert literal.

param: string $value
return: string

validate(string $value)   X-Ref
Checks to see if a value is valid for the field.

param: string $value
return: bool

timezoneSafeModify(DateTimeInterface $dt, string $modification)   X-Ref
No description

setTimeHour(DateTimeInterface $date, bool $invert, int $originalTimestamp)   X-Ref
No description



Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer