Home
last modified time | relevance | path

Searched refs:getOffset (Results 1 – 16 of 16) sorted by relevance

/PHP-8.0/ext/date/tests/
H A Dbug51393.phpt8 var_dump($dt->getOffset());
11 var_dump($dt->getOffset());
14 var_dump($dt->getOffset());
17 var_dump($dt->getOffset());
20 var_dump($dt->getOffset());
23 var_dump($dt->getOffset());
26 var_dump($dt->getOffset());
29 var_dump($dt->getOffset());
32 var_dump($dt->getOffset());
35 var_dump($dt->getOffset());
[all …]
H A DDateTimeZone_getOffset_basic1.phpt2 Test DateTimeZone::getOffset() function : basic functionality
5 echo "*** Testing DateTimeZone::getOffset() : basic functionality ***\n";
12 var_dump( $tz1->getOffset($date) );
15 var_dump( $tz2->getOffset($date) );
18 var_dump( $tz3->getOffset($date) );
22 *** Testing DateTimeZone::getOffset() : basic functionality ***
H A DDateTime_getOffset_basic1.phpt2 Test DateTime::getOffset() function : basic functionality
8 echo "*** Testing DateTime::getOffset() : basic functionality ***\n";
13 echo "Winter offset: " . $winter->getOffset() / 3600 . " hours\n";
14 echo "Summer offset: " . $summer->getOffset() / 3600 . " hours\n";
18 *** Testing DateTime::getOffset() : basic functionality ***
H A D68062.phpt2 DateTimeZone::getOffset() accepts a DateTimeInterface object
9 echo $tz->getOffset($dt), "\n";
11 echo $tz->getOffset(1);
18 DateTimeZone::getOffset(): Argument #1 ($datetime) must be of type DateTimeInterface, int given
H A Dbug62896.phpt12 echo $date->format('Y-m-d H:i:s T').' (offset '.$date->getOffset().")\n";
15 echo $date->format('Y-m-d H:i:s T').' (offset '.$date->getOffset().")\n";
21 echo $date->format('Y-m-d H:i:s T').' (offset '.$date->getOffset().")\n";
24 echo $date->format('Y-m-d H:i:s T').' (offset '.$date->getOffset().")\n";
29 echo $date->format('Y-m-d H:i:s T').' (offset '.$date->getOffset().")\n";
32 echo $date->format('Y-m-d H:i:s T').' (offset '.$date->getOffset().")\n";
/PHP-8.0/ext/intl/tests/
H A Dtimezone_getOffset_error.phpt2 IntlTimeZone::getOffset(): errors
18 var_dump($tz->getOffset(INF, true, $a, $a));
23 Warning: IntlTimeZone::getOffset(): intltz_get_offset: error obtaining offset in %s on line %d
H A Dtimezone_getOffset_basic.phpt2 IntlTimeZone::getOffset(): basic test
16 var_dump($ams->getOffset($date *1000., true, $rawOffset, $dstOffset),
H A Dtimezone_getErrorCodeMessage_basic.phpt21 var_dump($lsb->getOffset(INF, 1, $a, $b));
31 Warning: IntlTimeZone::getOffset(): intltz_get_offset: error obtaining offset in %s on line %d
H A Dtimezone_toDateTimeZone_basic.phpt19 var_dump($dtz->getName(), $dtz->getOffset(new DateTime('2012-01-01 00:00:00')));
/PHP-8.0/tests/lang/
H A Dengine_assignExecutionOrder_001.phpt58 function getOffset() {
59 echo "in getOffset()\n";
66 $string[getOffset()] = newChar();
70 C::$string[getOffset()] = newChar();
142 in getOffset()
148 in getOffset()
/PHP-8.0/ext/intl/timezone/
H A Dtimezone.stub.php101 public function getOffset(float $timestamp, bool $local, &$rawOffset, &$dstOffset) {} function in IntlTimeZone
H A Dtimezone_arginfo.h139 …ZEND_ME_MAPPING(getOffset, intltz_get_offset, arginfo_class_IntlTimeZone_getOffset, ZEND_ACC_PUBLI…
H A Dtimezone_class.cpp329 tz->getOffset(now, false, rawOffset, dstOffset, uec); in TimeZone_get_debug_info()
H A Dtimezone_methods.cpp429 to->utimezone->getOffset((UDate) date, (UBool) local, rawOffset, dstOffset, in PHP_FUNCTION()
/PHP-8.0/ext/date/
H A Dphp_date.stub.php129 public function getOffset(); function
208 public function getOffset() {} function in DateTime
285 public function getOffset() {} function in DateTimeImmutable
343 public function getOffset(DateTimeInterface $datetime) {} function in DateTimeZone
H A Dphp_date_arginfo.h567 …ZEND_ABSTRACT_ME_WITH_FLAGS(DateTimeInterface, getOffset, arginfo_class_DateTimeInterface_getOffse…
589 ZEND_ME_MAPPING(getOffset, date_offset_get, arginfo_class_DateTime_getOffset, ZEND_ACC_PUBLIC)
608 …ZEND_ME_MAPPING(getOffset, date_offset_get, arginfo_class_DateTimeImmutable_getOffset, ZEND_ACC_PU…
628 …ZEND_ME_MAPPING(getOffset, timezone_offset_get, arginfo_class_DateTimeZone_getOffset, ZEND_ACC_PUB…

Completed in 29 milliseconds