21 RRULE:FREQ=YEARLY;UNTIL=20100328T000000Z;BYMONTH=3;BYDAY=-1SU
22 DTSTART:19930328T020000
28 DTSTART:20110327T020000
35 CREATED:20160331T163031Z
36 UID:B9301437-417
C-4136-8DB3-8D1555863791
37 DTEND;TZID=Europe/Minsk:20160405T100000
39 ATTENDEE;CN=User Invitee;CUTYPE=INDIVIDUAL;EMAIL=invitee@
test.com;PARTSTAT=
40 ACCEPTED;ROLE=REQ-PARTICIPANT:mailto:invitee@
test.com
41 ATTENDEE;CN=User Organizer;CUTYPE=INDIVIDUAL;PARTSTAT=ACCEPTED:mailto:organ
44 DTSTART;TZID=Europe/Minsk:20160405T090000
45 DTSTAMP:20160331T164108Z
46 ORGANIZER;CN=User Organizer:mailto:organizer@
test.com
48 RECURRENCE-ID;TZID=Europe/Minsk:20160405T090000
51 CREATED:20160331T163031Z
52 UID:B9301437-417
C-4136-8DB3-8D1555863791
53 DTEND;TZID=Europe/Minsk:20160406T100000
55 ATTENDEE;CN=User Invitee;CUTYPE=INDIVIDUAL;EMAIL=invitee@
test.com;PARTSTAT=
56 ACCEPTED;ROLE=REQ-PARTICIPANT:mailto:invitee@
test.com
57 ATTENDEE;CN=User Organizer;CUTYPE=INDIVIDUAL;PARTSTAT=ACCEPTED:mailto:organ
60 DTSTART;TZID=Europe/Minsk:20160406T090000
61 DTSTAMP:20160331T165845Z
62 ORGANIZER;CN=User Organizer:mailto:organizer@
test.com
64 RECURRENCE-ID;TZID=Europe/Minsk:20160406T090000
72 $reflectionMethod = new \ReflectionMethod($broker,
'parseEventInfo');
73 $reflectionMethod->setAccessible(
true);
75 $this->assertInstanceOf(
'DateTimeZone',
$data[
'timezone']);
76 $this->assertEquals(
$data[
'timezone']->getName(),
'Europe/Minsk');
The ITip class is a utility class that helps with processing so-called iTip messages.
testTimezoneInParseEventInfoWithoutMaster()
static read($data, $options=0, $charset='UTF-8')
Parses a vCard or iCalendar object, and returns the top component.