Class that represents an RDF Literal of datatype xsd:date
Located in /EasyRdf/Literal/Date.php (line 47)
EasyRdf_Literal | --EasyRdf_Literal_Date
Class | Description |
---|---|
EasyRdf_Literal_DateTime | Class that represents an RDF Literal of datatype xsd:dateTime |
Parses a string using DateTime and creates a new literal
Example: $date = EasyRdf_Literal_Date::parse('1 January 2011');
Constructor for creating a new date literal
If the value is a DateTime object, then it will be converted to the xsd:date format.
Integer representation of the day of the month
Returns date formatted according to given format
Returns the date as a PHP DateTime object
Integer representation of the month
A full integer representation of the year, 4 digits
Inherited From EasyRdf_Literal
EasyRdf_Literal::__construct()
EasyRdf_Literal::create()
EasyRdf_Literal::deleteDatatypeMapping()
EasyRdf_Literal::dumpValue()
EasyRdf_Literal::getDatatype()
EasyRdf_Literal::getDatatypeForValue()
EasyRdf_Literal::getDatatypeUri()
EasyRdf_Literal::getLang()
EasyRdf_Literal::getValue()
EasyRdf_Literal::setDatatypeMapping()
EasyRdf_Literal::toArray()
EasyRdf_Literal::__toString()
Documentation generated on Wed, 16 Jan 2013 19:16:37 +0000 by phpDocumentor 1.4.4