Home
last modified time | relevance | path

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

/PHP-8.0/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 Dbug45529.phpt11 $d->setTimeZone($tz1);
14 $d->setTimeZone($tz2);
H A Drfc-datetime_and_daylight_saving_time-type3-bd2.phpt27 $end->setTimeZone($tz);
33 $end->setTimeZone($tz);
39 $end->setTimeZone($tz);
45 $end->setTimeZone($tz);
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 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.0/ext/intl/tests/
H A Dcalendar_setTimeZone_variation2.phpt2 IntlCalendar::setTimeZone(): different ways to specify time zone
14 $intlcal->setTimeZone('Europe/Paris');
16 $intlcal->setTimeZone(new DateTimeZone('Europe/Madrid'));
20 $intlcal->setTimeZone($pstdate->getTimeZone());
24 $intlcal->setTimeZone($offsetdate->getTimeZone());
H A Ddateformat_setTimeZone_error.phpt2 IntlDateFormatter::setTimeZone() bad args
15 var_dump($df->setTimeZone(array()));
16 var_dump($df->setTimeZone('non existing timezone'));
22 Warning: IntlDateFormatter::setTimeZone(): datefmt_set_timezone: No such time zone: 'Array' in %s o…
25 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
16 $intlcal->setTimeZone($pstdate->getTimeZone());
20 $intlcal->setTimeZone($pstdate->getTimeZone());
24 Warning: IntlCalendar::setTimeZone(): intlcal_set_time_zone: time zone id 'WEST' extracted from ext…
27 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
23 var_dump($c->setTimeZone($gmt, 2));
28 var_dump($c->setTimeZone());
45 error: 0, IntlCalendar::setTimeZone() expects exactly 1 argument, 2 given
47 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_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 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 Dcalendar_setTimeZone_variation1.phpt2 IntlCalendar::setTimeZone() variation with NULL arg
18 $intlcal->setTimeZone(null);
H A Dcalendar_setTimeZone_basic.phpt2 IntlCalendar::setTimeZone() basic test
17 $intlcal->setTimeZone(IntlTimeZone::getGMT());
H A Ddateformat_set_timezone_id2.phpt60 Warning: IntlDateFormatter::setTimeZone(): datefmt_set_timezone: No such time zone: 'CN' in %s on l…
H A Ddateformat_set_timezone_id3.phpt60 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-8.0/ext/intl/dateformat/
H A Ddateformat.stub.php67 public function setTimeZone($timezone) {} function in IntlDateFormatter
H A Ddateformat_arginfo.h114 …ZEND_ME_MAPPING(setTimeZone, datefmt_set_timezone, arginfo_class_IntlDateFormatter_setTimeZone, ZE…
/PHP-8.0/ext/intl/calendar/
H A Dcalendar.stub.php274 public function setTimeZone($timezone) {} function in IntlCalendar
H A Dcalendar_arginfo.h260 …ZEND_ME_MAPPING(setTimeZone, intlcal_set_time_zone, arginfo_class_IntlCalendar_setTimeZone, ZEND_A…

Completed in 20 milliseconds