Searched refs:defaultTimezone (Results 1 – 2 of 2) sorted by relevance
14 protected $defaultTimezone; variable in GoetasWebservices\\Xsd\\XsdToPhpRuntime\\Jms\\Handler\\XmlSchemaDateHandler64 public function __construct($defaultTimezone = 'UTC') argument66 $this->defaultTimezone = new \DateTimeZone($defaultTimezone);121 if ($date->getTimezone()->getOffset($date) !== $this->defaultTimezone->getOffset($date)) {136 return new \DateTime($data, $this->defaultTimezone);141 …ezone = isset($type['params'][1]) ? new \DateTimeZone($type['params'][1]) : $this->defaultTimezone;
25 private $defaultTimezone; variable in JMS\\Serializer\\Handler\\DateHandler63 …public function __construct(string $defaultFormat = \DateTime::ATOM, string $defaultTimezone = 'UT… argument66 $this->defaultTimezone = new \DateTimeZone($defaultTimezone);224 …zone = !empty($type['params'][1]) ? new \DateTimeZone($type['params'][1]) : $this->defaultTimezone;