12 namespace fpoirotte\XRL\Types;
69 final public static function read(
$value, \DateTimeZone $timezone = null)
71 return new static(static::parse(
$value, $timezone));
83 return (
string) $this->
get();
99 protected static function parse(
$value, \DateTimeZone $timezone = null)
136 abstract public function write(\XMLWriter $writer, \DateTimeZone $timezone, $stringTag);
write(\XMLWriter $writer,\DateTimeZone $timezone, $stringTag)
static read($value,\DateTimeZone $timezone=null)
$value
Current value associated with this object.
A class representing an abstract XML-RPC type.
static parse($value,\DateTimeZone $timezone=null)