ILIAS  release_8 Revision v8.23
EmployeeTalkPeriod.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
22 
23 use ilDatePeriod;
24 use ilDateTime;
25 
26 final class EmployeeTalkPeriod implements ilDatePeriod
27 {
28  private ilDateTime $start;
29  private ilDateTime $end;
30  private bool $fullDay;
31 
38  public function __construct(ilDateTime $start, ilDateTime $end, bool $fullDay)
39  {
40  $this->start = $start;
41  $this->end = $end;
42  $this->fullDay = $fullDay;
43  }
44 
45  public function getStart(): ilDateTime
46  {
47  return $this->start;
48  }
49 
50  public function getEnd(): ilDateTime
51  {
52  return $this->end;
53  }
54 
55  public function isFullday(): bool
56  {
57  return $this->fullDay;
58  }
59 }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
__construct(ilDateTime $start, ilDateTime $end, bool $fullDay)
EmployeeTalkPeriod constructor.