15DTSTART;TZID=America/Los_Angeles:20120118T204500
16DTEND;TZID=America/Los_Angeles:20120118T214500
22 'name' =>
'VCALENDAR',
28 'is-not-defined' =>
false,
30 'start' => new \DateTime(
'2012-01-18 21:00:00 GMT-08:00'),
31 'end' => new \DateTime(
'2012-01-18 21:00:00 GMT-08:00'),
38 $this->assertTrue($validator->validate(
$input, $filters));
47TZID:Pacific Standard
Time
49DTSTART:16010101T030000
52RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=10
55DTSTART:16010101T020000
58RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=3
62DTSTART;TZID=Pacific Standard
Time:20120113T100000
63DTEND;TZID=Pacific Standard
Time:20120113T110000
69 'name' =>
'VCALENDAR',
75 'is-not-defined' =>
false,
77 'start' => new \DateTime(
'2012-01-13 10:30:00 GMT-08:00'),
78 'end' => new \DateTime(
'2012-01-13 10:30:00 GMT-08:00'),
85 $this->assertTrue($validator->validate(
$input, $filters));
94TZID:My own timezone name
95X-LIC-LOCATION:America/Los_Angeles
97DTSTART:16010101T030000
100RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=10
103DTSTART:16010101T020000
106RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=3
110DTSTART;TZID=My own timezone name:20120113T100000
111DTEND;TZID=My own timezone name:20120113T110000
117 'name' =>
'VCALENDAR',
121 'comp-filters' => [],
122 'prop-filters' => [],
123 'is-not-defined' =>
false,
125 'start' => new \DateTime(
'2012-01-13 10:30:00 GMT-08:00'),
126 'end' => new \DateTime(
'2012-01-13 10:30:00 GMT-08:00'),
130 'prop-filters' => [],
133 $this->assertTrue($validator->validate(
$input, $filters));
An exception for terminatinating execution or to throw for unit testing.
testOutlookTimezoneName()
testLibICalLocationName()
testBuiltInTimezoneName()
static read($data, $options=0, $charset='UTF-8')
Parses a vCard or iCalendar object, and returns the top component.