6use PHPUnit\Framework\TestCase;
11 use \Sabre\VObject\PHPUnitAssertions;
20DTSTART:20140803T120000Z
26RECURRENCE-ID:20140803T120000Z
27DTSTART:20140803T120000Z
34 $vcal =
$vcal->expand(
new DateTime(
'2014-08-01'),
new DateTime(
'2014-09-01'));
41RECURRENCE-ID:20140803T120000Z
42DTSTART:20140803T120000Z
47DTSTART:20140810T120000Z
49RECURRENCE-ID:20140810T120000Z
53DTSTART:20140817T120000Z
55RECURRENCE-ID:20140817T120000Z
59DTSTART:20140824T120000Z
61RECURRENCE-ID:20140824T120000Z
65DTSTART:20140831T120000Z
67RECURRENCE-ID:20140831T120000Z
72 $this->assertVObjectEqualsVObject(
87DTSTART:20140803T120000Z
89EXDATE:20140803T120000Z
96 $vcal =
$vcal->expand(
new DateTime(
'2014-08-01'),
new DateTime(
'2014-08-19'));
103DTSTART:20140810T120000Z
105RECURRENCE-ID:20140810T120000Z
109DTSTART:20140817T120000Z
111RECURRENCE-ID:20140817T120000Z
116 $this->assertVObjectEqualsVObject(
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