|
@@ 811-818 (lines=8) @@
|
| 808 |
|
$icalEnd = new LibCaldav_iCalDate($period->getProperty('DTEND')); |
| 809 |
|
$icalDuration = $icalStart->DateDifference($icalEnd); |
| 810 |
|
|
| 811 |
|
if ($period->getProperty('RDATE') !== '') { |
| 812 |
|
$rdates = $this->explodeRules($period->getProperty('RDATE')); |
| 813 |
|
foreach ($rdates as $rdate) { |
| 814 |
|
if ($rdate >= $expandStart && $rdate < $expandEnd) { |
| 815 |
|
$recurrenceDates[$rdate] = $rdate; |
| 816 |
|
} |
| 817 |
|
} |
| 818 |
|
} |
| 819 |
|
|
| 820 |
|
if ($period->getProperty('RRULE') !== '') { |
| 821 |
|
$rrule = new RRule($icalStart, $period->getProperty('RRULE')); |
|
@@ 834-841 (lines=8) @@
|
| 831 |
|
// Now we use EXDATE and EXRULE parameters to determine a list |
| 832 |
|
// of date excluded from the recurrence rule. |
| 833 |
|
|
| 834 |
|
if ($period->getProperty('EXDATE') !== '') { |
| 835 |
|
$exdates = $this->explodeRules($period->getProperty('EXDATE')); |
| 836 |
|
foreach ($exdates as $exdate) { |
| 837 |
|
if ($exdate >= $expandStart && $exdate < $expandEnd) { |
| 838 |
|
unset($recurrenceDates[$exdate]); |
| 839 |
|
} |
| 840 |
|
} |
| 841 |
|
} |
| 842 |
|
|
| 843 |
|
if ($period->getProperty('EXRULE') !== '') { |
| 844 |
|
$exrule = new RRule($icalStart, $period->getProperty('EXRULE')); |