Definition at line 8 of file NoInstancesTest.php.
◆ testRecurrence()
Sabre\VObject\Recur\NoInstancesTest::testRecurrence |
( |
| ) |
|
@expectedException \Sabre\VObject\Recur\NoInstancesException
Definition at line 13 of file NoInstancesTest.php.
13 {
14
16BEGIN:VCALENDAR
17PRODID:-
18VERSION:2.0
19BEGIN:VEVENT
20DTSTART;TZID=Europe/Berlin:20130329T140000
21DTEND;TZID=Europe/Berlin:20130329T153000
22RRULE:FREQ=WEEKLY;BYDAY=FR;UNTIL=20130412T115959Z
23EXDATE;TZID=Europe/Berlin:20130405T140000
24EXDATE;TZID=Europe/Berlin:20130329T140000
25DTSTAMP:20140916T201215Z
26UID:foo
27SEQUENCE:1
28SUMMARY:foo
29END:VEVENT
30END:VCALENDAR
31ICS;
32
34 $this->assertInstanceOf(
'Sabre\\VObject\\Component\\VCalendar',
$vcal);
35
36 $it =
new EventIterator(
$vcal,
'foo');
37
38 }
static read($data, $options=0, $charset='UTF-8')
Parses a vCard or iCalendar object, and returns the top component.
foreach($paths as $path) if($argc< 3) $input
References Sabre\VObject\$input, $vcal, and Sabre\VObject\Reader\read().
The documentation for this class was generated from the following file: