28 DTSTAMP:20140402T174100Z
53 DTSTAMP:20140402T174100Z
69 [
"URL MUST NOT appear more than once in a VJOURNAL component"],
81 $vjournal =
$calendar->createComponent(
'VJOURNAL');
82 $vjournal->DTSTART =
'20111223T120000Z';
83 $tests[] = [$vjournal, new \DateTime(
'2011-01-01'), new \DateTime(
'2012-01-01'),
true];
84 $tests[] = [$vjournal, new \DateTime(
'2011-01-01'), new \DateTime(
'2011-11-01'),
false];
86 $vjournal2 =
$calendar->createComponent(
'VJOURNAL');
87 $vjournal2->DTSTART =
'20111223';
88 $vjournal2->DTSTART[
'VALUE'] =
'DATE';
89 $tests[] = [$vjournal2, new \DateTime(
'2011-01-01'), new \DateTime(
'2012-01-01'),
true];
90 $tests[] = [$vjournal2, new \DateTime(
'2011-01-01'), new \DateTime(
'2011-11-01'),
false];
92 $vjournal3 =
$calendar->createComponent(
'VJOURNAL');
93 $tests[] = [$vjournal3, new \DateTime(
'2011-01-01'), new \DateTime(
'2012-01-01'),
false];
94 $tests[] = [$vjournal3, new \DateTime(
'2011-01-01'), new \DateTime(
'2011-11-01'),
false];
static http()
Fetches the global http state from ILIAS.
static read($data, $options=0, $charset='UTF-8')
Parses a vCard or iCalendar object, and returns the top component.
testInTimeRange(VJournal $vtodo, $start, $end, $outcome)
timeRangeTestData
isInTimeRange(DateTimeInterface $start, DateTimeInterface $end)
Returns true or false depending on if the event falls in the specified time-range.