ILIAS  trunk Revision v11.0_alpha-1753-gb21ca8c4367
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
class.ilBookingPeriod.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
26 class ilBookingPeriod implements ilDatePeriod
27 {
28  private ?ilDateTime $start = null;
29  private ?ilDateTime $end = null;
30 
34  public function __construct(ilDateTime $start, ilDateTime $end)
35  {
36  $this->start = $start;
37  $this->end = $end;
38  }
39 
43  public function getEnd(): ?ilDateTime
44  {
45  return $this->end;
46  }
47 
51  public function getStart(): ?ilDateTime
52  {
53  return $this->start;
54  }
55 
59  public function isFullday(): bool
60  {
61  return false;
62  }
63 }
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
Booking period Used for calculation of recurring events.
__construct(ilDateTime $start, ilDateTime $end)
Constructor.