/php-src/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 TypeError: DateTimeZone::getOffset(): Argument #1 ($datetime) must be of type DateTimeInterface, in…
|
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 | DateTimeZone_uninitialised_exceptions.phpt | 39 check(fn() => $mdtz->getOffset($dt)); 41 check(fn() => $dtz->getOffset($mdt));
|
H A D | bug64992.phpt | 15 $gmto = $dt->getOffset();
|
H A D | DateTimeImmutable_uninitialised_exceptions.phpt | 40 check(fn() => $mdti->getOffset());
|
H A D | DateTime_uninitialised_exceptions.phpt | 42 check(fn() => $mdt->getOffset());
|
/php-src/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(): 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(): 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-src/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-src/ext/date/ |
H A D | php_date.stub.php | 326 public function getOffset(): int; function 418 public function getOffset(): int {} function in DateTime 507 public function getOffset(): int {} function in DateTimeImmutable 602 public function getOffset(DateTimeInterface $datetime): int {} function in DateTimeZone
|
/php-src/ext/intl/timezone/ |
H A D | timezone.stub.php | 134 public function getOffset(float $timestamp, bool $local, &$rawOffset, &$dstOffset): bool {} function in IntlTimeZone
|
H A D | timezone_class.cpp | 315 tz->getOffset(now, false, rawOffset, dstOffset, uec); in TimeZone_get_debug_info()
|
H A D | timezone_methods.cpp | 450 to->utimezone->getOffset((UDate) date, (UBool) local, rawOffset, dstOffset, in PHP_FUNCTION()
|