/PHP-8.1/ext/date/tests/ |
H A D | bug51393.phpt | 8 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 D | DateTimeZone_getOffset_basic1.phpt | 2 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 D | DateTime_getOffset_basic1.phpt | 2 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 D | 68062.phpt | 2 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 D | bug62896.phpt | 12 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";
|
H A D | bug64992.phpt | 15 $gmto = $dt->getOffset();
|
/PHP-8.1/ext/intl/tests/ |
H A D | timezone_getOffset_error.phpt | 2 IntlTimeZone::getOffset(): errors 17 var_dump($tz->getOffset(INF, true, $a, $a)); 22 Warning: IntlTimeZone::getOffset(): intltz_get_offset: error obtaining offset in %s on line %d
|
H A D | timezone_getOffset_basic.phpt | 2 IntlTimeZone::getOffset(): basic test 14 var_dump($ams->getOffset($date *1000., true, $rawOffset, $dstOffset),
|
H A D | timezone_getErrorCodeMessage_basic.phpt | 21 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 D | timezone_toDateTimeZone_basic.phpt | 17 var_dump($dtz->getName(), $dtz->getOffset(new DateTime('2012-01-01 00:00:00')));
|
/PHP-8.1/tests/lang/ |
H A D | engine_assignExecutionOrder_001.phpt | 58 function getOffset() { 59 echo "in getOffset()\n"; 66 $string[getOffset()] = newChar(); 70 C::$string[getOffset()] = newChar(); 142 in getOffset() 148 in getOffset()
|
/PHP-8.1/ext/date/ |
H A D | php_date.stub.php | 198 public function getOffset(): int; function 278 public function getOffset(): int {} function in DateTime 356 public function getOffset(): int {} function in DateTimeImmutable 414 public function getOffset(DateTimeInterface $datetime): int {} function in DateTimeZone
|
H A D | php_date_arginfo.h | 609 …ZEND_ABSTRACT_ME_WITH_FLAGS(DateTimeInterface, getOffset, arginfo_class_DateTimeInterface_getOffse… 631 ZEND_ME_MAPPING(getOffset, date_offset_get, arginfo_class_DateTime_getOffset, ZEND_ACC_PUBLIC) 650 …ZEND_ME_MAPPING(getOffset, date_offset_get, arginfo_class_DateTimeImmutable_getOffset, ZEND_ACC_PU… 670 …ZEND_ME_MAPPING(getOffset, timezone_offset_get, arginfo_class_DateTimeZone_getOffset, ZEND_ACC_PUB…
|
/PHP-8.1/ext/intl/timezone/ |
H A D | timezone.stub.php | 101 public function getOffset(float $timestamp, bool $local, &$rawOffset, &$dstOffset): bool {} function in IntlTimeZone
|
H A D | timezone_arginfo.h | 149 …ZEND_ME_MAPPING(getOffset, intltz_get_offset, arginfo_class_IntlTimeZone_getOffset, ZEND_ACC_PUBLI…
|
H A D | timezone_class.cpp | 329 tz->getOffset(now, false, rawOffset, dstOffset, uec); in TimeZone_get_debug_info()
|
H A D | timezone_methods.cpp | 429 to->utimezone->getOffset((UDate) date, (UBool) local, rawOffset, dstOffset, in PHP_FUNCTION()
|