ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
Issue26Test.php
Go to the documentation of this file.
1 <?php
2 
4 
8 
9 class Issue26Test extends TestCase {
10 
14  function testExpand() {
15 
16  $input = <<<ICS
17 BEGIN:VCALENDAR
18 VERSION:2.0
19 BEGIN:VEVENT
20 UID:bae5d57a98
21 RRULE:FREQ=MONTHLY;BYDAY=0MO,0TU,0WE,0TH,0FR;INTERVAL=1
22 DTSTART;VALUE=DATE:20130401
23 DTEND;VALUE=DATE:20130402
24 END:VEVENT
25 END:VCALENDAR
26 ICS;
27 
29  $this->assertInstanceOf('Sabre\\VObject\\Component\\VCalendar', $vcal);
30 
31  $it = new EventIterator($vcal, 'bae5d57a98');
32 
33  }
34 
35 }
if($argc< 3) $input
This class is used to determine new for a recurring event, when the next events occur.
static read($data, $options=0, $charset='UTF-8')
Parses a vCard or iCalendar object, and returns the top component.
Definition: Reader.php:42