PHP 인터페이스 RRule\RRuleInterface

상속: extends Iterator, extends ArrayAccess, extends Countable
파일 보기 프로젝트 열기: rlanvin/php-rrule

공개 메소드들

메소드 설명
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