Definition at line 8 of file EmClientTest.php.
◆ testParseTz()
Sabre\VObject\EmClientTest::testParseTz |
( |
| ) |
|
Definition at line 10 of file EmClientTest.php.
References Sabre\VObject\Reader\read().
12 $str =
'BEGIN:VCALENDAR 13 X-WR-CALNAME:Blackhawks Schedule 2011-12 14 X-APPLE-CALENDAR-COLOR:#E51717 15 X-WR-TIMEZONE:America/Chicago 17 PRODID:-//eM Client/4.0.13961.0 23 RRULE:FREQ=YEARLY;BYDAY=2SU;BYMONTH=3 24 DTSTART:20070311T020000 30 RRULE:FREQ=YEARLY;BYDAY=1SU;BYMONTH=11 31 DTSTART:20071104T020000 37 CREATED:20110624T181236Z 38 UID:be3bbfff-96e8-4c66-9908-ab791a62231d 39 DTEND;TZID="America/Chicago":20111008T223000 41 SUMMARY:Stars @ Blackhawks (Home Opener) 42 DTSTART;TZID="America/Chicago":20111008T193000 43 DTSTAMP:20120330T013232Z 45 X-MICROSOFT-CDO-BUSYSTATUS:BUSY 46 LAST-MODIFIED:20120330T013237Z 52 $dt = $vObject->VEVENT->DTSTART->getDateTime();
static read($data, $options=0, $charset='UTF-8')
Parses a vCard or iCalendar object, and returns the top component.
The documentation for this class was generated from the following file: