ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
Sabre\VObject\Recur\NoInstancesTest Class Reference
+ Inheritance diagram for Sabre\VObject\Recur\NoInstancesTest:
+ Collaboration diagram for Sabre\VObject\Recur\NoInstancesTest:

Public Member Functions

 testRecurrence ()
 @expectedException \Sabre\VObject\Recur\NoInstancesException More...
 

Detailed Description

Definition at line 8 of file NoInstancesTest.php.

Member Function Documentation

◆ testRecurrence()

Sabre\VObject\Recur\NoInstancesTest::testRecurrence ( )

@expectedException \Sabre\VObject\Recur\NoInstancesException

Definition at line 13 of file NoInstancesTest.php.

13 {
14
15 $input = <<<ICS
16BEGIN:VCALENDAR
17PRODID:-//Google Inc//Google Calendar 70.9054//EN
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.
Definition: Reader.php:42
foreach($paths as $path) if($argc< 3) $input

References Sabre\VObject\$input, $vcal, and Sabre\VObject\Reader\read().

+ Here is the call graph for this function:

The documentation for this class was generated from the following file: