6use PHPUnit\Framework\TestCase;
11 use \Sabre\VObject\PHPUnitAssertions;
20DTSTART:20130727T120000Z
22RRULE:FREQ=DAILY;COUNT=2
26RECURRENCE-ID:20130728T120000Z
28DTSTART:20140101T120000Z
36 $this->assertInstanceOf(
'Sabre\\VObject\\Component\\VCalendar',
$vcal);
38 $vcal =
$vcal->expand(
new DateTime(
'2011-01-01'),
new DateTime(
'2015-01-01'));
45DTSTART:20130727T120000Z
48RECURRENCE-ID:20130727T120000Z
51RECURRENCE-ID:20130728T120000Z
53DTSTART:20140101T120000Z
An exception for terminatinating execution or to throw for unit testing.
iCalendar/vCard/jCal/jCard/xCal/xCard reader object.
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