Mercurial > hg > rc1
comparison vendor/sabre/vobject/lib/Property/VCard/Date.php @ 7:430dbd5346f7
vendor sabre as distributed
| author | Charlie Root |
|---|---|
| date | Sat, 13 Jan 2018 09:06:10 -0500 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| 6:cec75ba50afc | 7:430dbd5346f7 |
|---|---|
| 1 <?php | |
| 2 | |
| 3 namespace Sabre\VObject\Property\VCard; | |
| 4 | |
| 5 use | |
| 6 Sabre\VObject\DateTimeParser; | |
| 7 | |
| 8 /** | |
| 9 * Date property | |
| 10 * | |
| 11 * This object encodes vCard DATE values. | |
| 12 * | |
| 13 * @copyright Copyright (C) 2011-2015 fruux GmbH (https://fruux.com/). | |
| 14 * @author Evert Pot (http://evertpot.com/) | |
| 15 * @license http://sabre.io/license/ Modified BSD License | |
| 16 */ | |
| 17 class Date extends DateAndOrTime { | |
| 18 | |
| 19 /** | |
| 20 * Returns the type of value. | |
| 21 * | |
| 22 * This corresponds to the VALUE= parameter. Every property also has a | |
| 23 * 'default' valueType. | |
| 24 * | |
| 25 * @return string | |
| 26 */ | |
| 27 public function getValueType() { | |
| 28 | |
| 29 return "DATE"; | |
| 30 | |
| 31 } | |
| 32 | |
| 33 } |
