ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
EmployeeTalkPeriod.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
23use ilDatePeriod;
24use ilDateTime;
25
26final class EmployeeTalkPeriod implements ilDatePeriod
27{
30 private bool $fullDay;
31
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}
__construct(ilDateTime $start, ilDateTime $end, bool $fullDay)
EmployeeTalkPeriod constructor.
@classDescription Date and time handling