Home
last modified time | relevance | path

Searched refs:setTimezone (Results 1 – 21 of 21) sorted by relevance

/PHP-8.1/ext/date/tests/
H A DDateTime_data-fall-type3-type3.inc35 $end->setTimezone(new DateTimeZone('America/New_York')); // zt2 -> zt3
41 $end->setTimezone(new DateTimeZone('America/New_York')); // zt2 -> zt3
67 $end->setTimezone(new DateTimeZone('America/New_York')); // zt2 -> zt3
73 $end->setTimezone(new DateTimeZone('America/New_York')); // zt2 -> zt3
90 $start->setTimezone(new DateTimeZone('America/New_York')); // zt2 -> zt3
101 $end->setTimezone(new DateTimeZone('America/New_York')); // zt2 -> zt3
108 $end->setTimezone(new DateTimeZone('America/New_York')); // zt2 -> zt3
139 $end->setTimezone(new DateTimeZone('America/New_York')); // zt2 -> zt3
146 $end->setTimezone(new DateTimeZone('America/New_York')); // zt2 -> zt3
175 $end->setTimezone(new DateTimeZone('America/New_York')); // zt2 -> zt3
[all …]
H A DDateTime_setTimezone_basic1.phpt2 Test DateTime::setTimezone() function : basic functionality
5 echo "*** Testing DateTime::setTimezone() : basic functionality ***\n";
14 $datetime->setTimezone($la_time);
19 *** Testing DateTime::setTimezone() : basic functionality ***
H A DDateTime_data-fall-type3-type2.inc35 $end->setTimezone(new DateTimeZone('America/New_York')); // zt2 -> zt3
41 $end->setTimezone(new DateTimeZone('America/New_York')); // zt2 -> zt3
88 $start->setTimezone(new DateTimeZone('America/New_York')); // zt2 -> zt3
94 $start->setTimezone(new DateTimeZone('America/New_York')); // zt2 -> zt3
100 $start->setTimezone(new DateTimeZone('America/New_York')); // zt2 -> zt3
106 $start->setTimezone(new DateTimeZone('America/New_York')); // zt2 -> zt3
112 $start->setTimezone(new DateTimeZone('America/New_York')); // zt2 -> zt3
118 $start->setTimezone(new DateTimeZone('America/New_York')); // zt2 -> zt3
124 $start->setTimezone(new DateTimeZone('America/New_York')); // zt2 -> zt3
130 $start->setTimezone(new DateTimeZone('America/New_York')); // zt2 -> zt3
[all …]
H A DDateTime_data-fall-type2-type3.inc35 $end->setTimezone(new DateTimeZone('America/New_York')); // zt2 -> zt3
41 $end->setTimezone(new DateTimeZone('America/New_York')); // zt2 -> zt3
67 $end->setTimezone(new DateTimeZone('America/New_York')); // zt2 -> zt3
73 $end->setTimezone(new DateTimeZone('America/New_York')); // zt2 -> zt3
99 $end->setTimezone(new DateTimeZone('America/New_York')); // zt2 -> zt3
105 $end->setTimezone(new DateTimeZone('America/New_York')); // zt2 -> zt3
131 $end->setTimezone(new DateTimeZone('America/New_York')); // zt2 -> zt3
137 $end->setTimezone(new DateTimeZone('America/New_York')); // zt2 -> zt3
163 $end->setTimezone(new DateTimeZone('America/New_York')); // zt2 -> zt3
169 $end->setTimezone(new DateTimeZone('America/New_York')); // zt2 -> zt3
[all …]
H A Dbug43003.phpt10 $oDateTest->setTimezone(new DateTimeZone("UTC"));
13 $oDateTest->setTimezone(new DateTimeZone(date_default_timezone_get()));
19 $oDateTest->setTimezone( new DateTimeZone(date_default_timezone_get()));
H A Dbug80664.phpt6 $dt->setTimezone(new DateTimeZone('America/Boise'));
16 $dt->setTimezone(new DateTimeZone('UTC'));
18 $dt->setTimezone(new DateTimeZone('America/Boise'));
H A Ddate_time_immutable.phpt50 $x = $z->setTimezone($tz);
54 $x = $z->setTimezone($tz);
58 $x = $z->setTimezone($tz);
126 setTimezone():
H A D015.phpt9 $dto->setTimezone(new DateTimeZone('US/Eastern'));
H A Dgh9880.phpt13 $dateTime->setTimezone(new DateTimeZone('America/New_York'));
H A Dbug81458.phpt5 $first = (new DateTime('2018-07-01 00:00:00.000000 America/Toronto'))->setTimezone(new DateTimeZone…
H A Dbug45543.phpt2 Test for bug #45543: DateTime::setTimezone can not set timezones without ID.
H A Dbug52290.phpt10 $dt->setTimezone(new DateTimeZone($tz));
H A Dbug40743.phpt19 $dt->setTimezone( new DateTimeZone( 'America/New_York' ) );
H A Dbug62896.phpt20 $date->setTimezone($tz);
H A Dbug68549-dst-transition-DateTime-setTimezone.phpt135 $dt->setTimezone($tz);
/PHP-8.1/ext/date/
H A Dphp_date.stub.php272 public function setTimezone(DateTimeZone $timezone): DateTime {} function in DateTime
380 public function setTimezone(DateTimeZone $timezone): DateTimeImmutable {} function in DateTimeImmutable
H A Dphp_date_arginfo.h530 ZEND_METHOD(DateTimeImmutable, setTimezone);
630 …ZEND_ME_MAPPING(setTimezone, date_timezone_set, arginfo_class_DateTime_setTimezone, ZEND_ACC_PUBLI…
656 …ZEND_ME(DateTimeImmutable, setTimezone, arginfo_class_DateTimeImmutable_setTimezone, ZEND_ACC_PUBL…
H A Dphp_date.c3165 PHP_METHOD(DateTimeImmutable, setTimezone) in PHP_METHOD() argument
/PHP-8.1/ext/intl/tests/
H A Ddateformat_format.phpt80 $d2->setTimezone(new DateTimeZone("PDT"));
H A Ddateformat_format_variant2.phpt80 $d2->setTimezone(new DateTimeZone("PDT"));
H A Ddateformat_format_variant3.phpt82 $d2->setTimezone(new DateTimeZone("PDT"));

Completed in 39 milliseconds