Lines Matching defs:days
37 /** @var \DateTime[] all the days */
38 protected $days;
40 /** @var int number of days */
121 * Figure out the minimum and maximum dates and number of days inbetween
123 * @throws StructException when the range is not at least two days
145 $daynum = (new \DateTime($min))->diff(new \DateTime($max))->days;
153 'header' => 'j', // days
202 $this->days = $this->listDays($min, $max);
268 foreach ($headers as $name => $days) {
269 $this->renderer->doc .= '<th colspan="' . $days . '">' . $name . '</th>';
276 * Render a row for the days and the today pointer
281 $this->renderer->doc .= '<tr class="days">';
283 foreach ($this->days as $day) {
318 $r1 = $this->days;
363 * @fixme currently it's still called days, but may actually use weeks or months
372 $days = array();
385 $days[] = $date;
389 return $days;