Definition at line 7 of file Issue172Test.php.
◆ testBuiltInTimezoneName()
Sabre\CalDAV\Issue172Test::testBuiltInTimezoneName |
( |
| ) |
|
Definition at line 10 of file Issue172Test.php.
References $input, and Sabre\VObject\Reader\read().
15 DTSTART;TZID=America/Los_Angeles:20120118T204500
16 DTEND;TZID=America/Los_Angeles:20120118T214500
20 $validator =
new CalendarQueryValidator();
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));
static read($data, $options=0, $charset='UTF-8')
Parses a vCard or iCalendar object, and returns the top component.
◆ testLibICalLocationName()
Sabre\CalDAV\Issue172Test::testLibICalLocationName |
( |
| ) |
|
Definition at line 89 of file Issue172Test.php.
References $input, and Sabre\VObject\Reader\read().
94 TZID:My own timezone name
95 X-LIC-LOCATION:America/Los_Angeles
97 DTSTART:16010101T030000
100 RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=10
103 DTSTART:16010101T020000
106 RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=3
110 DTSTART;TZID=My own timezone name:20120113T100000
111 DTEND;TZID=My own timezone name:20120113T110000
115 $validator =
new CalendarQueryValidator();
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));
static read($data, $options=0, $charset='UTF-8')
Parses a vCard or iCalendar object, and returns the top component.
◆ testOutlookTimezoneName()
Sabre\CalDAV\Issue172Test::testOutlookTimezoneName |
( |
| ) |
|
Definition at line 42 of file Issue172Test.php.
References $input, and Sabre\VObject\Reader\read().
47 TZID:Pacific Standard Time
49 DTSTART:16010101T030000
52 RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=10
55 DTSTART:16010101T020000
58 RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=3
62 DTSTART;TZID=Pacific Standard Time:20120113T100000
63 DTEND;TZID=Pacific Standard Time:20120113T110000
67 $validator =
new CalendarQueryValidator();
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));
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: