| 1 | <?php |
||
| 20 | class Timezone extends Component |
||
| 21 | { |
||
| 22 | /** |
||
| 23 | * @var string |
||
| 24 | */ |
||
| 25 | protected $timezone; |
||
| 26 | |||
| 27 | public function __construct($timezone) |
||
| 31 | |||
| 32 | /** |
||
| 33 | * {@inheritdoc} |
||
| 34 | */ |
||
| 35 | public function getType() |
||
| 39 | |||
| 40 | /** |
||
| 41 | * {@inheritdoc} |
||
| 42 | */ |
||
| 43 | public function buildPropertyBag() |
||
| 44 | { |
||
| 45 | $propertyBag = new PropertyBag(); |
||
| 46 | |||
| 47 | $propertyBag->set('TZID', $this->timezone); |
||
| 48 | $propertyBag->set('X-LIC-LOCATION', $this->timezone); |
||
| 49 | |||
| 50 | return $propertyBag; |
||
| 51 | } |
||
| 52 | |||
| 53 | public function getZoneIdentifier() |
||
| 57 | } |
||
| 58 |