XRL  latest
Simple XML-RPC Library (both client and server)
fpoirotte\XRL\Types\DateTime Class Reference

The XML-RPC "dateTime" type. More...

+ Inheritance diagram for fpoirotte\XRL\Types\DateTime:

Public Attributes

const XMLRPC_FORMAT = 'Y-m-d\\TH:i:s.uO'
 Date/time format. More...
 
const XMLRPC_TYPE = '{http://ws.apache.org/xmlrpc/namespaces/extensions}dateTime'
 XML-RPC type for this class.
 

Additional Inherited Members

- Public Member Functions inherited from fpoirotte\XRL\Types\AbstractDateTime
 __toString ()
 
 set ($value)
 
 write (\XMLWriter $writer,\DateTimeZone $timezone, $stringTag)
 
- Public Member Functions inherited from fpoirotte\XRL\Types\AbstractType
 __construct ($value)
 
 __toString ()
 
 get ()
 
 set ($value)
 
 write (\XMLWriter $writer,\DateTimeZone $timezone, $stringTag)
 
- Static Public Member Functions inherited from fpoirotte\XRL\Types\AbstractType
static read ($value,\DateTimeZone $timezone=null)
 
- Static Protected Member Functions inherited from fpoirotte\XRL\Types\AbstractDateTime
static parse ($value,\DateTimeZone $timezone=null)
 
- Static Protected Member Functions inherited from fpoirotte\XRL\Types\AbstractType
static parse ($value,\DateTimeZone $timezone=null)
 
- Protected Attributes inherited from fpoirotte\XRL\Types\AbstractType
 $value
 Current value associated with this object.
 

Detailed Description

The XML-RPC "dateTime" type.

The "dateTime" type extension, as described in http://ws.apache.org/xmlrpc/types.html

Authors
François Poirotte click.nosp@m.y@er.nosp@m.ebot..nosp@m.net

Definition at line 23 of file DateTime.php.

Member Data Documentation

const fpoirotte\XRL\Types\DateTime::XMLRPC_FORMAT = 'Y-m-d\\TH:i:s.uO'

Date/time format.

We can't just use DateTime::ISO8601 (= "Y-m-d\\TH:i:sO") because the PHP format omits milliseconds.

Definition at line 32 of file DateTime.php.


The documentation for this class was generated from the following file: