Home
last modified time | relevance | path

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

/php-src/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 TypeError: DateTimeZone::getOffset(): Argument #1 ($datetime) must be of type DateTimeInterface, in…
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";
H A DDateTimeZone_uninitialised_exceptions.phpt39 check(fn() => $mdtz->getOffset($dt));
41 check(fn() => $dtz->getOffset($mdt));
H A Dbug64992.phpt15 $gmto = $dt->getOffset();
H A DDateTimeImmutable_uninitialised_exceptions.phpt40 check(fn() => $mdti->getOffset());
H A DDateTime_uninitialised_exceptions.phpt42 check(fn() => $mdt->getOffset());
/php-src/ext/intl/tests/
H A Dtimezone_getOffset_error.phpt2 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 Dtimezone_getOffset_basic.phpt2 IntlTimeZone::getOffset(): basic test
14 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(): error obtaining offset in %s on line %d
H A Dtimezone_toDateTimeZone_basic.phpt17 var_dump($dtz->getName(), $dtz->getOffset(new DateTime('2012-01-01 00:00:00')));
/php-src/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-src/ext/date/
H A Dphp_date.stub.php326 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 Dtimezone.stub.php134 public function getOffset(float $timestamp, bool $local, &$rawOffset, &$dstOffset): bool {} function in IntlTimeZone
H A Dtimezone_class.cpp315 tz->getOffset(now, false, rawOffset, dstOffset, uec); in TimeZone_get_debug_info()
H A Dtimezone_methods.cpp450 to->utimezone->getOffset((UDate) date, (UBool) local, rawOffset, dstOffset, in PHP_FUNCTION()

Completed in 27 milliseconds