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

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

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

Public Attributes

const XMLRPC_FORMAT = 'Ymd\\TH:i:s'
 Date/time format. More...
 
const XMLRPC_TYPE = 'dateTime.iso8601'
 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.iso8601" type.

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

Definition at line 20 of file DateTimeIso8601.php.

Member Data Documentation

const fpoirotte\XRL\Types\DateTimeIso8601::XMLRPC_FORMAT = 'Ymd\\TH:i:s'

Date/time format.

We can't just use DateTime::ISO8601 (= "Y-m-d\\TH:i:sO") because the XML-RPC specification forbids timezones.

Definition at line 29 of file DateTimeIso8601.php.


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