Home
last modified time | relevance | path

Searched refs:setTimeZone (Results 1 – 23 of 23) sorted by relevance

/php-src/ext/date/tests/
H A Dbug73489.phpt2 Bug #73489: wrong timestamp when call setTimeZone multi times with UTC offset
8 $datetime->setTimeZone(new DateTimeZone('-03:00'));
9 $datetime->setTimeZone(new DateTimeZone('-03:00'));
12 // example 2 - Timestamp keeps if you use getTimestamp() before second setTimeZone() calls
15 $datetime->setTimeZone(new DateTimeZone('-03:00'));
17 $datetime->setTimeZone(new DateTimeZone('-03:00'));
H A Drfc-datetime_and_daylight_saving_time-type3-bd2.phpt25 $end->setTimeZone($tz);
31 $end->setTimeZone($tz);
37 $end->setTimeZone($tz);
43 $end->setTimeZone($tz);
49 $end->setTimeZone($tz);
H A Dbug45529.phpt11 $d->setTimeZone($tz1);
14 $d->setTimeZone($tz2);
H A Drfc-datetime_and_daylight_saving_time-type3-bs.phpt18 $end->setTimeZone($tz);
43 $end->setTimeZone($tz);
50 $end->setTimeZone($tz);
63 $end->setTimeZone($tz);
H A Dbug74173.phpt7 $prg = $utc->setTimeZone(new \DateTimeZone('Europe/Prague'));
H A DDateTime_getTimeZone_basic1.phpt17 $object->setTimeZone($la_time);
H A Dbug45543.phpt19 $d2->setTimeZone($tz);
H A Dbug48097.phpt12 $d->setTimeZone( new DateTimeZone( 'Europe/Budapest' ) );
H A DDateTimeImmutable_uninitialised_exceptions.phpt38 check(fn() => $mdti->setTimeZone($dtz));
H A DDateTime_uninitialised_exceptions.phpt40 check(fn() => $mdt->setTimeZone($dtz));
/php-src/ext/intl/tests/
H A Dcalendar_setTimeZone_variation2.phpt2 IntlCalendar::setTimeZone(): different ways to specify time zone
12 $intlcal->setTimeZone('Europe/Paris');
14 $intlcal->setTimeZone(new DateTimeZone('Europe/Madrid'));
18 $intlcal->setTimeZone($pstdate->getTimeZone());
22 $intlcal->setTimeZone($offsetdate->getTimeZone());
H A Ddateformat_setTimeZone_error.phpt2 IntlDateFormatter::setTimeZone() bad args
13 var_dump($df->setTimeZone(array()));
14 var_dump($df->setTimeZone('non existing timezone'));
20 Warning: IntlDateFormatter::setTimeZone(): datefmt_set_timezone: No such time zone: 'Array' in %s o…
23 Warning: IntlDateFormatter::setTimeZone(): datefmt_set_timezone: No such time zone: 'non existing t…
H A Dcalendar_setTimeZone_error2.phpt2 IntlCalendar::setTimeZone(): valid time zones for DateTime but not ICU
14 $intlcal->setTimeZone($pstdate->getTimeZone());
18 $intlcal->setTimeZone($pstdate->getTimeZone());
22 Warning: IntlCalendar::setTimeZone(): intlcal_set_time_zone: time zone id 'WEST' extracted from ext…
25 Warning: IntlCalendar::setTimeZone(): intlcal_set_time_zone: object has an time zone offset that's …
H A Dcalendar_setTimeZone_error.phpt2 IntlCalendar::setTimeZone(): bad arguments
21 var_dump($c->setTimeZone($gmt, 2));
26 var_dump($c->setTimeZone());
43 error: 0, IntlCalendar::setTimeZone() expects exactly 1 argument, 2 given
45 error: 0, IntlCalendar::setTimeZone() expects exactly 1 argument, 0 given
H A Ddateformat_get_set_timezone_variant5.phpt2 IntlDateFormatter: get/setTimeZone()
25 $df->setTimeZone(NULL);
28 $df->setTimeZone('Europe/Madrid');
31 $df->setTimeZone(IntlTimeZone::createTimeZone('Europe/Paris'));
34 $df->setTimeZone(new DateTimeZone('Europe/Amsterdam'));
H A Dcalendar_setTimeZone_variation1.phpt2 IntlCalendar::setTimeZone() variation with NULL arg
16 $intlcal->setTimeZone(null);
H A Dcalendar_setTimeZone_basic.phpt2 IntlCalendar::setTimeZone() basic test
15 $intlcal->setTimeZone(IntlTimeZone::getGMT());
H A Dgh13766.phpt8 $oIntlDateFormatter->setTimeZone('Europe/Berlin');
H A Ddateformat_set_timezone_id_icu72-1.phpt61 Warning: IntlDateFormatter::setTimeZone(): datefmt_set_timezone: No such time zone: 'CN' in %sut_co…
H A Ddateformat_set_timezone_id3.phpt61 Warning: IntlDateFormatter::setTimeZone(): datefmt_set_timezone: No such time zone: 'CN' in %sut_co…
H A Dut_common.inc370 …return $GLOBALS['oo-mode'] ? $fmt->setTimeZone( $timezone_id ) : datefmt_set_timezone( $fmt ,$time…
/php-src/ext/intl/dateformat/
H A Ddateformat.stub.php108 public function setTimeZone($timezone): bool {} function in IntlDateFormatter
/php-src/ext/intl/calendar/
H A Dcalendar.stub.php362 public function setTimeZone($timezone): bool {} function in IntlCalendar

Completed in 20 milliseconds