6use PHPUnit\Framework\TestCase;
14 use \Sabre\VObject\PHPUnitAssertions;
23DTSTART:20130711T050000Z
25RRULE:FREQ=DAILY;INTERVAL=1;COUNT=2
29DTSTART:20130719T050000Z
31RECURRENCE-ID:20130712T050000Z
37 $this->assertInstanceOf(
'Sabre\\VObject\\Component\\VCalendar',
$vcal);
39 $vcal =
$vcal->expand(
new DateTime(
'2011-01-01'),
new DateTime(
'2014-01-01'));
46DTSTART:20130711T050000Z
48RECURRENCE-ID:20130711T050000Z
52DTSTART:20130719T050000Z
54RECURRENCE-ID:20130712T050000Z
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.
This is a unittest for Issue #53.
foreach($paths as $path) if($argc< 3) $input