DateTime.php 652 B

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