Lines Matching refs:end
19 /** @var int column number containing the end date */
75 * The first date column is the start, the second is the end
138 $end = $row[$this->colrefEnd]->getCompareValue();
139 $end = explode(' ', $end); // cut off time
140 $end = array_shift($end);
141 if ($end && $end < $min) $min = $end;
142 if ($end && $end > $max) $max = $end;
304 $end = $row[$this->colrefEnd]->getCompareValue();
306 if ($start && $end) {
308 $r2 = $this->listDays($start, $end);
309 $r3 = $this->listDays($end, $this->maxDate);
311 while ($r1 && ($this->intervalFormat(end($r1), 'comp') >= $this->intervalFormat($r2[0], 'comp'))) {
314 while ($r3 && ($this->intervalFormat($r3[0], 'comp') <= $this->intervalFormat(end($r2), 'comp'))) {
366 * @param string $end as YYYY-MM-DD
369 protected function listDays($start, $end)
371 if ($start > $end) list($start, $end) = array($end, $start);
377 (new \DateTime($end))->modify($this->interval['next']) // Include End Date (flag is only available in PHP8)
396 * @param string $end as YYYY-MM-DD
399 protected function makeHeaders($start, $end)
401 if ($start > $end) list($start, $end) = array($end, $start);
407 (new \DateTime($end))->modify($this->interval['next']) // Include End Date (flag is only available in PHP8)