Lines Matching defs:interval
45 /** @var string[] interval formats used */
46 protected $interval = [
48 'period' => 'P1D', // smallest shown interval
49 'next' => '+1 day', // one more interval
50 'short' => 'q', // interval label
51 'long' => 'Y-m-d', // interval long label
52 'comp' => 'Y-m-d', // sortable interval
144 $this->interval = [
153 $this->interval = [
162 $this->interval = [
171 $this->interval = [
181 $this->interval = [
271 if ($day->format($this->interval['long']) == $today->format($this->interval['long'])) {
347 * Returns the interval units in the given period
362 new \DateInterval($this->interval['period']),
363 (new \DateTime($end))->modify($this->interval['next']) // Include End Date (flag is only available in PHP8)
392 new \DateInterval($this->interval['period']),
393 (new \DateTime($end))->modify($this->interval['next']) // Include End Date (flag is only available in PHP8)
422 $format = $this->interval[$formatname];