Searched refs:setTimezone (Results 1 – 24 of 24) sorted by relevance
/PHP-5.6/ext/date/tests/ |
H A D | DateTime_setTimezone_error.phpt | 2 Test DateTime::setTimezone () function : error conditions 5 /* Prototype : public DateTime DateTime::setTimezone ( DateTimeZone $timezone ) 13 echo "*** Testing DateTime::setTimezone () : error conditions ***\n"; 17 echo "\n-- Testing DateTime::setTimezone () function with zero arguments --\n"; 18 var_dump( $datetime->setTimezone() ); 23 var_dump( $datetime->setTimezone($timezone, $extra_arg) ); 28 *** Testing DateTime::setTimezone () : error conditions *** 30 -- Testing DateTime::setTimezone () function with zero arguments -- 32 Warning: DateTime::setTimezone() expects exactly 1 parameter, 0 given in %s on line %d 35 -- Testing DateTime::setTimezone () function with more than expected no. of arguments -- [all …]
|
H A D | DateTime_setTimezone_variation1.phpt | 2 Test DateTime::setTimezone() function : usage variation - Passing unexpected values to first argume… 5 /* Prototype : public DateTime DateTime::setTimezone ( DateTimeZone $timezone ) 102 var_dump( $object->setTimezone($timezone) ); 150 Warning: DateTime::setTimezone() expects parameter 1 to be DateTimeZone, array given in %s on line … 155 Warning: DateTime::setTimezone() expects parameter 1 to be DateTimeZone, array given in %s on line … 160 Warning: DateTime::setTimezone() expects parameter 1 to be DateTimeZone, array given in %s on line … 165 Warning: DateTime::setTimezone() expects parameter 1 to be DateTimeZone, array given in %s on line … 170 Warning: DateTime::setTimezone() expects parameter 1 to be DateTimeZone, null given in %s on line %d 175 Warning: DateTime::setTimezone() expects parameter 1 to be DateTimeZone, null given in %s on line %d 240 Warning: DateTime::setTimezone() expects parameter 1 to be DateTimeZone, null given in %s on line %d [all …]
|
H A D | DateTime_setTimezone_basic1.phpt | 2 Test DateTime::setTimezone() function : basic functionality 5 /* Prototype : public DateTime DateTime::setTimezone ( DateTimeZone $timezone ) 11 echo "*** Testing DateTime::setTimezone() : basic functionality ***\n"; 20 $datetime->setTimezone($la_time); 26 *** Testing DateTime::setTimezone() : basic functionality ***
|
H A D | DateTime_data-fall-type3-type3.inc | 35 $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 D | DateTime_data-fall-type3-type2.inc | 35 $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 D | DateTime_data-fall-type2-type3.inc | 35 $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 D | bug43003.phpt | 10 $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 D | date_time_immutable.phpt | 50 $x = $z->setTimezone($tz); 54 $x = $z->setTimezone($tz); 58 $x = $z->setTimezone($tz); 126 setTimezone():
|
H A D | 015.phpt | 9 $dto->setTimezone(new DateTimeZone('US/Eastern'));
|
H A D | bug45543.phpt | 2 Test for bug #45543: DateTime::setTimezone can not set timezones without ID.
|
H A D | date_timezone_get_basic1.phpt | 8 * Alias to functions: DateTime::setTimezone
|
H A D | date_timezone_set_basic1.phpt | 8 * Alias to functions: DateTime::setTimezone
|
H A D | bug52290.phpt | 10 $dt->setTimezone(new DateTimeZone($tz));
|
H A D | bug40743.phpt | 19 $dt->setTimezone( new DateTimeZone( 'America/New_York' ) );
|
H A D | bug62896.phpt | 20 $date->setTimezone($tz);
|
H A D | date_timezone_set_error.phpt | 8 * Alias to functions: DateTime::setTimezone
|
H A D | DateTime_verify.phpt | 104 string(11) "setTimezone"
|
H A D | date_timezone_set_variation1.phpt | 8 * Alias to functions: DateTime::setTimezone
|
H A D | date_timezone_set_variation2.phpt | 8 * Alias to functions: DateTime::setTimezone
|
/PHP-5.6/ext/date/ |
H A D | php_date.h | 80 PHP_METHOD(DateTimeImmutable, setTimezone);
|
H A D | php_date.c | 478 PHP_ME_MAPPING(setTimezone, date_timezone_set, arginfo_date_method_timezone_set, 0) 503 PHP_ME(DateTimeImmutable, setTimezone, arginfo_date_method_timezone_set, 0) 3386 PHP_METHOD(DateTimeImmutable, setTimezone) in PHP_METHOD() argument
|
/PHP-5.6/ext/intl/tests/ |
H A D | dateformat_format.phpt | 79 $d2->setTimezone(new DateTimeZone("PDT"));
|
H A D | dateformat_format_variant2.phpt | 79 $d2->setTimezone(new DateTimeZone("PDT"));
|
H A D | dateformat_format_variant3.phpt | 79 $d2->setTimezone(new DateTimeZone("PDT"));
|
Completed in 46 milliseconds