Date.php 629 B

123456789101112131415161718192021222324252627282930313233
  1. <?php
  2. namespace Sabre\VObject\Property\VCard;
  3. use
  4. Sabre\VObject\DateTimeParser;
  5. /**
  6. * Date property
  7. *
  8. * This object encodes vCard DATE values.
  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 Date 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";
  25. }
  26. }