Bitrix API

Recurrence

Class Recurrence is responsible for storing the start and end \DateTime of a specific recurrence in a RRULE.

Table of Contents

Methods

__construct()  : mixed
getEnd()  : DateTime
getIndex()  : int
getStart()  : DateTimeInterface
setEnd()  : mixed
setIndex()  : mixed
setStart()  : mixed

Methods

__construct()

public __construct([DateTimeInterface $start = null ][, DateTimeInterface $end = null ][, mixed $index = 0 ]) : mixed
Parameters
$start : DateTimeInterface = null
$end : DateTimeInterface = null
$index : mixed = 0

getEnd()

public getEnd() : DateTime
Return values
DateTime

getIndex()

public getIndex() : int
Return values
int

getStart()

public getStart() : DateTimeInterface
Return values
DateTimeInterface

setEnd()

public setEnd(DateTime $end) : mixed
Parameters
$end : DateTime

setIndex()

public setIndex(int $index) : mixed
Parameters
$index : int

setStart()

public setStart(DateTime $start) : mixed
Parameters
$start : DateTime

        
On this page

Search results