ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
◀ ilDoc Overview
Date.php
Go to the documentation of this file.
1
<?
php
2
3
namespace
Sabre\VObject\Property\VCard
;
4
14
class
Date
extends
DateAndOrTime
{
15
24
function
getValueType
() {
25
26
return
'DATE'
;
27
28
}
29
37
function
setDateTime
(\
DateTimeInterface
$dt) {
38
39
$this->value = $dt->format(
'Ymd'
);
40
41
}
42
43
}
Sabre\VObject\Property\VCard\Date\getValueType
getValueType()
Returns the type of value.
Definition:
Date.php:24
Sabre\VObject\Property\VCard\DateAndOrTime
DateAndOrTime property.
Definition:
DateAndOrTime.php:22
Sabre\VObject\Property\VCard
Definition:
Date.php:3
DateTimeInterface
Sabre\VObject\Property\VCard\Date
Date property.
Definition:
Date.php:14
Sabre\VObject\Property\VCard\Date\setDateTime
setDateTime(\DateTimeInterface $dt)
Sets the property as a DateTime object.
Definition:
Date.php:37
php
libs
composer
vendor
sabre
vobject
lib
Property
VCard
Date.php
Generated on Thu Jan 30 2025 19:01:22 for ILIAS by
1.8.13 (using
Doxyfile
)