7use PHPUnit\Framework\TestCase;
 
   19X-LIC-LOCATION:Europe/Brussels
 
   24DTSTART:19700329T020000
 
   25RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=3
 
   31DTSTART:19701025T030000
 
   32RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=10
 
   36CREATED:20130705T142510Z
 
   37LAST-MODIFIED:20130715T132556Z
 
   38DTSTAMP:20130715T132556Z
 
   39UID:1aef0b27-3d92-4581-829a-11999dd36724
 
   41RRULE:FREQ=DAILY;COUNT=5
 
   42DTSTART;TZID=Europe/Brussels:20130715T090000
 
   43DTEND;TZID=Europe/Brussels:20130715T170000
 
   49CREATED:20130715T081654Z
 
   50LAST-MODIFIED:20130715T110931Z
 
   51DTSTAMP:20130715T110931Z
 
   52UID:1aef0b27-3d92-4581-829a-11999dd36724
 
   54RECURRENCE-ID;TZID=Europe/Brussels:20130719T090000
 
   55DTSTART;TZID=Europe/Brussels:20130719T070000
 
   56DTEND;TZID=Europe/Brussels:20130719T150000
 
   63CREATED:20130715T111654Z
 
   64LAST-MODIFIED:20130715T132556Z
 
   65DTSTAMP:20130715T132556Z
 
   66UID:1aef0b27-3d92-4581-829a-11999dd36724
 
   68RECURRENCE-ID;TZID=Europe/Brussels:20130716T090000
 
   69DTSTART;TZID=Europe/Brussels:20130716T070000
 
   70DTEND;TZID=Europe/Brussels:20130716T150000
 
   76CREATED:20130715T125942Z
 
   77LAST-MODIFIED:20130715T130023Z
 
   78DTSTAMP:20130715T130023Z
 
   79UID:1aef0b27-3d92-4581-829a-11999dd36724
 
   81RECURRENCE-ID;TZID=Europe/Brussels:20130717T090000
 
   82DTSTART;TZID=Europe/Brussels:20130717T070000
 
   83DTEND;TZID=Europe/Brussels:20130717T150000
 
   89CREATED:20130715T130024Z
 
   90LAST-MODIFIED:20130715T130034Z
 
   91DTSTAMP:20130715T130034Z
 
   92UID:1aef0b27-3d92-4581-829a-11999dd36724
 
   94RECURRENCE-ID;TZID=Europe/Brussels:20130718T090000
 
   95DTSTART;TZID=Europe/Brussels:20130718T090000
 
   96DTEND;TZID=Europe/Brussels:20130718T170000
 
  105        $this->assertInstanceOf(
'Sabre\\VObject\\Component\\VCalendar', 
$vcal);
 
  110        foreach ($it as $instance) {
 
  116        $tz = 
new DateTimeZone(
'Europe/Brussels');
 
  118        $this->assertEquals([
 
  119            new DateTimeImmutable(
'2013-07-15 09:00:00', 
$tz),
 
  120            new DateTimeImmutable(
'2013-07-16 07:00:00', 
$tz),
 
  121            new DateTimeImmutable(
'2013-07-17 07:00:00', 
$tz),
 
  122            new DateTimeImmutable(
'2013-07-18 09:00:00', 
$tz),
 
  123            new DateTimeImmutable(
'2013-07-19 07:00:00', 
$tz),
 
An exception for terminatinating execution or to throw for unit testing.
static read($data, $options=0, $charset='UTF-8')
Parses a vCard or iCalendar object, and returns the top component.
This class is used to determine new for a recurring event, when the next events occur.
foreach($paths as $path) if($argc< 3) $input