PHP Интерфейс RRule\RRuleInterface

Наследование: extends Iterator, extends ArrayAccess, extends Countable
Показать файл Открыть проект

Открытые методы

Метод Описание
getOccurrences ( ) : array Return all the occurrences in an array of \DateTime.
getOccurrencesBetween ( mixed $begin, mixed $end ) : array Return all the ocurrences after a date, before a date, or between two dates.
isFinite ( ) : boolean Return true if the rrule has an end condition, false otherwise
isInfinite ( ) : boolean Return true if the rrule has no end condition (infite)
occursAt ( mixed $date ) : boolean Return true if $date is an occurrence.

Описание методов

getOccurrences() публичный Метод

Return all the occurrences in an array of \DateTime.
public getOccurrences ( ) : array
Результат array An array of \DateTime objects

getOccurrencesBetween() публичный Метод

Return all the ocurrences after a date, before a date, or between two dates.
public getOccurrencesBetween ( mixed $begin, mixed $end ) : array
$begin mixed Can be null to return all occurrences before $end
$end mixed Can be null to return all occurrences after $begin
Результат array An array of \DateTime objects

isFinite() публичный Метод

Return true if the rrule has an end condition, false otherwise
public isFinite ( ) : boolean
Результат boolean

isInfinite() публичный Метод

Return true if the rrule has no end condition (infite)
public isInfinite ( ) : boolean
Результат boolean

occursAt() публичный Метод

Return true if $date is an occurrence.
public occursAt ( mixed $date ) : boolean
$date mixed
Результат boolean