Home
last modified time | relevance | path

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

12

/PHP-8.3/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' ) );
/PHP-8.3/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.phpt2 IntlDateFormatter: get/setTimeZone()
27 $df->setTimeZone(NULL);
30 $df->setTimeZone('Europe/Madrid');
33 $df->setTimeZone(IntlTimeZone::createTimeZone('Europe/Paris'));
36 $df->setTimeZone(new DateTimeZone('Europe/Amsterdam'));
H A Ddateformat_get_set_timezone_variant2.phpt2 IntlDateFormatter: get/setTimeZone()
27 $df->setTimeZone(NULL);
30 $df->setTimeZone('Europe/Madrid');
33 $df->setTimeZone(IntlTimeZone::createTimeZone('Europe/Paris'));
36 $df->setTimeZone(new DateTimeZone('Europe/Amsterdam'));
H A Ddateformat_get_set_timezone_variant3.phpt2 IntlDateFormatter: get/setTimeZone()
28 $df->setTimeZone(NULL);
31 $df->setTimeZone('Europe/Madrid');
34 $df->setTimeZone(IntlTimeZone::createTimeZone('Europe/Paris'));
37 $df->setTimeZone(new DateTimeZone('Europe/Amsterdam'));
H A Ddateformat_get_set_timezone_variant5.phpt2 IntlDateFormatter: get/setTimeZone()
27 $df->setTimeZone(NULL);
30 $df->setTimeZone('Europe/Madrid');
33 $df->setTimeZone(IntlTimeZone::createTimeZone('Europe/Paris'));
36 $df->setTimeZone(new DateTimeZone('Europe/Amsterdam'));
H A Ddateformat_get_set_timezone_variant4.phpt2 IntlDateFormatter: get/setTimeZone()
28 $df->setTimeZone(NULL);
31 $df->setTimeZone('Europe/Madrid');
34 $df->setTimeZone(IntlTimeZone::createTimeZone('Europe/Paris'));
37 $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 Ddateformat_set_timezone_id2.phpt61 Warning: IntlDateFormatter::setTimeZone(): datefmt_set_timezone: No such time zone: 'CN' in %s on l…
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.phpt62 Warning: IntlDateFormatter::setTimeZone(): datefmt_set_timezone: No such time zone: 'CN' in %sut_co…
/PHP-8.3/ext/intl/dateformat/
H A Ddateformat.stub.php139 public function setTimeZone($timezone): bool {} function in IntlDateFormatter
H A Ddateformat_arginfo.h123 …ZEND_ME_MAPPING(setTimeZone, datefmt_set_timezone, arginfo_class_IntlDateFormatter_setTimeZone, ZE…
/PHP-8.3/ext/intl/calendar/
H A Dcalendar.stub.php479 public function setTimeZone($timezone): bool {} function in IntlCalendar

Completed in 39 milliseconds

12