Lines Matching refs:days
36 /** @var \DateTime[] all the days */
37 protected $days;
39 /** @var int number of days */
113 * Figure out the minimum and maximum dates and number of days inbetween
115 * @throws StructException when the range is not at least two days
137 $daynum = (new \DateTime($min))->diff(new \DateTime($max))->days;
145 'header' => 'j', // days
194 $this->days = $this->listDays($min, $max);
255 foreach ($headers as $name => $days) {
256 $this->renderer->doc .= '<th colspan="' . $days . '">' . $name . '</th>';
263 * Render a row for the days and the today pointer
268 $this->renderer->doc .= '<tr class="days">';
270 foreach ($this->days as $day) {
305 $r1 = $this->days;
349 * @fixme currently it's still called days, but may actually use weeks or months
358 $days = [];
371 $days[] = $date;
375 return $days;