1 | <?php |
||
22 | class iCalFormat extends AbstractFormat |
||
23 | { |
||
24 | /** |
||
25 | * @var string the event summary |
||
26 | */ |
||
27 | public $summary; |
||
28 | /** |
||
29 | * @var integer the unix timestamp of the start date of the event |
||
30 | */ |
||
31 | public $startTimestamp; |
||
32 | /** |
||
33 | * @var integer the unix timestamp of the end date of the event |
||
34 | */ |
||
35 | public $endTimestamp; |
||
36 | |||
37 | /** |
||
38 | * @inheritdoc |
||
39 | */ |
||
40 | public function getText() |
||
51 | |||
52 | /** |
||
53 | * Converts a unix timestamp to iCal format. Timezones are assumed to be included into the timestamp. |
||
54 | * |
||
55 | * @param int $value the unix timestamp to convert |
||
56 | * |
||
57 | * @return bool|string the formatted date |
||
58 | */ |
||
59 | protected function unixToiCal($value) |
||
63 | } |
||
64 |