ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
◀ ilDoc Overview
Issue26Test.php
Go to the documentation of this file.
1
<?
php
2
3
namespace
Sabre\VObject\Recur\EventIterator
;
4
5
use
PHPUnit\Framework\TestCase
;
6
use
Sabre\VObject\Reader
;
7
use
Sabre\VObject\Recur\EventIterator
;
8
9
class
Issue26Test
extends
TestCase {
10
14
function
testExpand
() {
15
16
$input
= <<<ICS
17
BEGIN:VCALENDAR
18
VERSION:2.0
19
BEGIN:VEVENT
20
UID:bae5d57a98
21
RRULE:FREQ=MONTHLY;BYDAY=0MO,0TU,0WE,0TH,0FR;INTERVAL=1
22
DTSTART;VALUE=DATE:20130401
23
DTEND;VALUE=DATE:20130402
24
END:VEVENT
25
END:VCALENDAR
26
ICS;
27
28
$vcal
=
Reader::read
(
$input
);
29
$this->assertInstanceOf(
'Sabre\\VObject\\Component\\VCalendar'
,
$vcal
);
30
31
$it =
new
EventIterator
(
$vcal
,
'bae5d57a98'
);
32
33
}
34
35
}
$vcal
$vcal
Definition:
bench_freebusygenerator.php:22
Sabre\VObject\Recur\EventIterator\Issue26Test\testExpand
testExpand()
Definition:
Issue26Test.php:14
Sabre\VObject\$input
if($argc< 3) $input
Definition:
mergeduplicates.php:35
Sabre\VObject\Recur\EventIterator
This class is used to determine new for a recurring event, when the next events occur.
Definition:
EventIterator.php:61
Sabre\VObject\Recur\EventIterator
Definition:
ExpandFloatingTimesTest.php:3
Reader
Sabre\VObject\Reader\read
static read($data, $options=0, $charset='UTF-8')
Parses a vCard or iCalendar object, and returns the top component.
Definition:
Reader.php:42
php
Sabre\VObject\Recur\EventIterator\Issue26Test
Definition:
Issue26Test.php:9
TestCase
libs
composer
vendor
sabre
vobject
tests
VObject
Recur
EventIterator
Issue26Test.php
Generated on Thu Jan 16 2025 19:01:54 for ILIAS by
1.8.13 (using
Doxyfile
)