DateTime.php 603 B

12345678910111213141516171819202122232425262728
  1. <?php
  2. namespace Sabre\VObject\Property\VCard;
  3. /**
  4. * DateTime property.
  5. *
  6. * This object encodes DATE-TIME values for vCards.
  7. *
  8. * @copyright Copyright (C) fruux GmbH (https://fruux.com/)
  9. * @author Evert Pot (http://evertpot.com/)
  10. * @license http://sabre.io/license/ Modified BSD License
  11. */
  12. class DateTime extends DateAndOrTime
  13. {
  14. /**
  15. * Returns the type of value.
  16. *
  17. * This corresponds to the VALUE= parameter. Every property also has a
  18. * 'default' valueType.
  19. *
  20. * @return string
  21. */
  22. public function getValueType()
  23. {
  24. return 'DATE-TIME';
  25. }
  26. }