Definition at line 7 of file Issue36WorkAroundTest.php.
◆ testWorkaround()
Sabre\VObject\Issue36WorkAroundTest::testWorkaround |
( |
| ) |
|
Definition at line 9 of file Issue36WorkAroundTest.php.
9 {
10
11
12 $event = <<<ICS
13BEGIN:VCALENDAR
14VERSION:2.0
15BEGIN:VEVENT
16SUMMARY:Titel
17SEQUENCE:1
18TRANSP:TRANSPARENT
19RRULE:FREQ=YEARLY
20LAST-MODIFIED:20130323T225737Z
21DTSTAMP:20130323T225737Z
22UID:1833bd44-188b-405c-9f85-1a12105318aa
23CATEGORIES:Jubiläum
24X-MOZ-GENERATION:3
25RECURRENCE-ID;RANGE=THISANDFUTURE;VALUE=DATE:20131013
26DTSTART;VALUE=DATE:20131013
27CREATED:20100721T121914Z
28DURATION:P1D
29END:VEVENT
30END:VCALENDAR
31ICS;
32
34
35
36 $it = new Recur\EventIterator($obj, '1833bd44-188b-405c-9f85-1a12105318aa');
37 $this->assertInstanceOf('Sabre\\VObject\\Recur\\EventIterator', $it);
38
39 }
static read($data, $options=0, $charset='UTF-8')
Parses a vCard or iCalendar object, and returns the top component.
References Sabre\VObject\Reader\read().
The documentation for this class was generated from the following file: