14 use \Sabre\VObject\PHPUnitAssertions;
23 DTSTART:20130711T050000Z
24 DTEND:20130711T053000Z
25 RRULE:FREQ=DAILY;INTERVAL=1;COUNT=2
29 DTSTART:20130719T050000Z
30 DTEND:20130719T053000Z
31 RECURRENCE-ID:20130712T050000Z
37 $this->assertInstanceOf(
'Sabre\\VObject\\Component\\VCalendar',
$vcal);
46 DTSTART:20130711T050000Z
47 DTEND:20130711T053000Z
48 RECURRENCE-ID:20130711T050000Z
52 DTSTART:20130719T050000Z
53 DTEND:20130719T053000Z
54 RECURRENCE-ID:20130712T050000Z
This is a unittest for Issue #53.
static read($data, $options=0, $charset='UTF-8')
Parses a vCard or iCalendar object, and returns the top component.