ILIAS  release_8 Revision v8.23
class.ilBookingPeriod.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 /* Copyright (c) 1998-2010 ILIAS open source, Extended GPL, see docs/LICENSE */
5 
12 class ilBookingPeriod implements ilDatePeriod
13 {
14  private ?ilDateTime $start = null;
15  private ?ilDateTime $end = null;
16 
20  public function __construct(ilDateTime $start, ilDateTime $end)
21  {
22  $this->start = $start;
23  $this->end = $end;
24  }
25 
29  public function getEnd(): ?ilDateTime
30  {
31  return $this->end;
32  }
33 
37  public function getStart(): ?ilDateTime
38  {
39  return $this->start;
40  }
41 
45  public function isFullday(): bool
46  {
47  return false;
48  }
49 }
Booking period Used for calculation of recurring events.
__construct(ilDateTime $start, ilDateTime $end)
Constructor.