1 | <?php |
||
24 | class RecurrenceId extends Property |
||
25 | { |
||
26 | /** |
||
27 | * The effective range of recurrence instances from the instance |
||
28 | * specified by the recurrence identifier specified by the property. |
||
29 | */ |
||
30 | const RANGE_THISANDPRIOR = 'THISANDPRIOR'; |
||
31 | const RANGE_THISANDFUTURE = 'THISANDFUTURE'; |
||
32 | |||
33 | /** |
||
34 | * The dateTime to identify a particular instance of a recurring event which is getting modified. |
||
35 | * |
||
36 | * @var \DateTime |
||
37 | */ |
||
38 | protected $dateTime; |
||
39 | |||
40 | /** |
||
41 | * Specify the effective range of recurrence instances from the instance. |
||
42 | * |
||
43 | * @var string |
||
44 | */ |
||
45 | protected $range; |
||
46 | |||
47 | public function __construct(\DateTime $dateTime = null) |
||
52 | |||
53 | public function applyTimeSettings($noTime = false, $useTimezone = false, $useUtc = false) |
||
67 | |||
68 | /** |
||
69 | * @param string $range |
||
70 | * |
||
71 | * @return \Eluceo\iCal\Property\Event\RecurrenceId |
||
72 | */ |
||
73 | public function setRange($range) |
||
77 | |||
78 | /** |
||
79 | * @param \DateTime $dateTime |
||
80 | */ |
||
81 | public function setDateTime(\DateTime $dateTime) |
||
85 | |||
86 | /** |
||
87 | * @return array |
||
88 | * @throws \Exception |
||
89 | */ |
||
90 | public function toLines() |
||
98 | } |
||
99 |