ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
MaxInstancesTest.php
Go to the documentation of this file.
1 <?php
2 
4 
5 use DateTime;
9 
10 class MaxInstancesTest extends TestCase {
11 
16 
17  $input = <<<ICS
18 BEGIN:VCALENDAR
19 VERSION:2.0
20 BEGIN:VEVENT
21 UID:foobar
22 DTSTART:20140803T120000Z
23 RRULE:FREQ=WEEKLY
24 SUMMARY:Original
25 END:VEVENT
26 END:VCALENDAR
27 ICS;
28 
31  try {
32 
34  $vcal->expand(new DateTime('2014-08-01'), new DateTime('2014-09-01'));
35 
36  } finally {
38  }
39 
40  }
41 
42 }
if($argc< 3) $input
static $maxRecurrences
The maximum number of recurrences that will be generated.
Definition: Settings.php:54
static read($data, $options=0, $charset='UTF-8')
Parses a vCard or iCalendar object, and returns the top component.
Definition: Reader.php:42