Home
last modified time | relevance | path

Searched refs:getTimezone (Results 1 – 13 of 13) sorted by relevance

/PHP-8.2/ext/date/tests/
H A Dbug43003.phpt8 echo $oDateTest->getTimezone()->getName().": " . $oDateTest->format("Y-m-d H:i:s")."\n";
11 echo $oDateTest->getTimezone()->getName().": " . $oDateTest->format("Y-m-d H:i:s")."\n";
14 echo $oDateTest->getTimezone()->getName().": " . $oDateTest->format("Y-m-d H:i:s")."\n";
17 echo $oDateTest->getTimezone()->getName().": " . $oDateTest->format("Y-m-d H:i:s")."\n";
20 echo $oDateTest->getTimezone()->getName().": " . $oDateTest->format("Y-m-d H:i:s")."\n";
H A Dbug42910.phpt9 …print $foo->format(DateTime::ISO8601) . ' - ' . $foo->getTimezone()->getName() . ' - ' . $foo->fo…
10 …print $bar->format(DateTime::ISO8601) . ' - ' . $bar->getTimezone()->getName() . ' - ' . $bar->fo…
15 …print $foo->format(DateTime::ISO8601) . ' - ' . $foo->getTimezone()->getName() . ' - ' . $foo->fo…
16 …print $bar->format(DateTime::ISO8601) . ' - ' . $bar->getTimezone()->getName() . ' - ' . $bar->fo…
H A DDateTime_getTimeZone_basic1.phpt2 Test DateTime::getTimezone() function : basic functionality
5 echo "*** Testing DateTime::getTimezone() : basic functionality ***\n";
22 *** Testing DateTime::getTimezone() : basic functionality ***
H A Ddate_time_immutable-inherited.phpt12 $x = $v->getTimezone();
21 getTimezone():
H A D015.phpt7 $tzold = $dto->getTimezone();
11 var_dump($dto->getTimezone()->getName());
H A Dbug68406.phpt12 var_dump($d->getTimezone(), $tz2);
14 if($tz2 == $d->getTimezone()) {
H A Dbug43527.phpt7 echo $datetime->getTimezone()->getName(), "\n";
H A DDateTimeZone_serialize_type_1.phpt8 $tz1 = date_create("2012-01-01 10:00 +1:00")->getTimezone();
/PHP-8.2/Zend/tests/
H A Drecord_errors_001.phpt15 function getTimezone() {}
19 Error: Return type of DateTime@anonymous::getTimezone() should either be compatible with DateTime::
H A Ddeprecation_to_exception_during_inheritance.phpt15 public function getTimezone() {}
20 …ption: Return type of DateTime@anonymous::getTimezone() should either be compatible with DateTime:…
/PHP-8.2/ext/intl/tests/
H A Dgh12243.phpt17 timezone: $datetime->getTimezone(),
/PHP-8.2/ext/date/
H A Dphp_date.stub.php320 public function getTimezone(): DateTimeZone|false; function
400 public function getTimezone(): DateTimeZone|false {} function in DateTime
488 public function getTimezone(): DateTimeZone|false {} function in DateTimeImmutable
H A Dphp_date_arginfo.h644 …ZEND_ABSTRACT_ME_WITH_FLAGS(DateTimeInterface, getTimezone, arginfo_class_DateTimeInterface_getTim…
669 …ZEND_ME_MAPPING(getTimezone, date_timezone_get, arginfo_class_DateTime_getTimezone, ZEND_ACC_PUBLI…
691 …ZEND_ME_MAPPING(getTimezone, date_timezone_get, arginfo_class_DateTimeImmutable_getTimezone, ZEND_…

Completed in 67 milliseconds