13 $dt =
new DateTime(
'2015-03-24 11:47:00',
new DateTimeZone(
'America/Vancouver'));
19<d:getlastmodified xmlns:d=
"DAV:">Tue, 24 Mar 2015 18:47:00 GMT</d:getlastmodified>
22 $this->assertXmlStringEqualsXmlString($expected,
$result);
28 $dt =
new DateTime(
'2015-03-24 11:47:00',
new DateTimeZone(
'America/Vancouver'));
29 $dt = $dt->getTimeStamp();
35<d:getlastmodified xmlns:d=
"DAV:">Tue, 24 Mar 2015 18:47:00 GMT</d:getlastmodified>
38 $this->assertXmlStringEqualsXmlString($expected,
$result);
46<d:getlastmodified xmlns:d=
"DAV:">Tue, 24 Mar 2015 18:47:00 GMT</d:getlastmodified>
49 $elementMap = [
'{DAV:}getlastmodified' =>
'Sabre\DAV\Xml\Property\GetLastModified'];
53 new DateTime(
'2015-03-24 18:47:00',
new DateTimeZone(
'UTC')),
An exception for terminatinating execution or to throw for unit testing.
This property represents the {DAV:}getlastmodified property.
parse($xml, array $elementMap=[])