Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
observance.php
1<?php
2
3
5
6
7abstract class Observance extends ParserComponent
8{
13 protected $dtStart;
17 protected $tzOffsetFrom;
21 protected $tzOffsetTo;
22
26 public function __construct()
27 {
28
29 }
30
34 public function getType(): string
35 {
36 return static::TYPE;
37 }
38
42 public function getProperties(): array
43 {
44 return [
45 "DTSTART",
46 "TZOFFSETFROM",
47 "TZOFFSETTO",
48 ];
49 }
50
56 {
57 $this->dtStart = $dtStart;
58
59 return $this;
60 }
61
67 {
68 $this->tzOffsetFrom = $tzOffsetFrom;
69
70 return $this;
71 }
72
78 {
79 $this->tzOffsetTo = $tzOffsetTo;
80
81 return $this;
82 }
83
88 {
89 return $this->tzOffsetTo;
90 }
91
96 {
98 }
99
103 public function getDtStart(): ?ParserPropertyType
104 {
105 return $this->dtStart;
106 }
107}
setDtStart(?ParserPropertyType $dtStart)
setTzOffsetTo(?ParserPropertyType $tzOffsetTo)
setTzOffsetFrom(?ParserPropertyType $tzOffsetFrom)