xref: /plugin/davcal/vendor/sabre/vobject/lib/Property/UtcOffset.php (revision a1a3b6794e0e143a4a8b51d3185ce2d339be61ab)
1*a1a3b679SAndreas Boehler<?php
2*a1a3b679SAndreas Boehler
3*a1a3b679SAndreas Boehlernamespace Sabre\VObject\Property;
4*a1a3b679SAndreas Boehler
5*a1a3b679SAndreas Boehler/**
6*a1a3b679SAndreas Boehler * UtcOffset property
7*a1a3b679SAndreas Boehler *
8*a1a3b679SAndreas Boehler * This object encodes UTC-OFFSET values.
9*a1a3b679SAndreas Boehler *
10*a1a3b679SAndreas Boehler * @copyright Copyright (C) 2011-2015 fruux GmbH (https://fruux.com/).
11*a1a3b679SAndreas Boehler * @author Evert Pot (http://evertpot.com/)
12*a1a3b679SAndreas Boehler * @license http://sabre.io/license/ Modified BSD License
13*a1a3b679SAndreas Boehler */
14*a1a3b679SAndreas Boehlerclass UtcOffset extends Text {
15*a1a3b679SAndreas Boehler
16*a1a3b679SAndreas Boehler    /**
17*a1a3b679SAndreas Boehler     * In case this is a multi-value property. This string will be used as a
18*a1a3b679SAndreas Boehler     * delimiter.
19*a1a3b679SAndreas Boehler     *
20*a1a3b679SAndreas Boehler     * @var string|null
21*a1a3b679SAndreas Boehler     */
22*a1a3b679SAndreas Boehler    public $delimiter = null;
23*a1a3b679SAndreas Boehler
24*a1a3b679SAndreas Boehler    /**
25*a1a3b679SAndreas Boehler     * Returns the type of value.
26*a1a3b679SAndreas Boehler     *
27*a1a3b679SAndreas Boehler     * This corresponds to the VALUE= parameter. Every property also has a
28*a1a3b679SAndreas Boehler     * 'default' valueType.
29*a1a3b679SAndreas Boehler     *
30*a1a3b679SAndreas Boehler     * @return string
31*a1a3b679SAndreas Boehler     */
32*a1a3b679SAndreas Boehler    public function getValueType() {
33*a1a3b679SAndreas Boehler
34*a1a3b679SAndreas Boehler        return "UTC-OFFSET";
35*a1a3b679SAndreas Boehler
36*a1a3b679SAndreas Boehler    }
37*a1a3b679SAndreas Boehler}
38