Home
last modified time | relevance | path

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

/PHP-5.6/ext/date/tests/
H A DDateTime_setTimezone_error.phpt2 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 DDateTime_setTimezone_variation1.phpt2 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 DDateTime_setTimezone_basic1.phpt2 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 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_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 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 Dbug45543.phpt2 Test for bug #45543: DateTime::setTimezone can not set timezones without ID.
H A Ddate_timezone_get_basic1.phpt8 * Alias to functions: DateTime::setTimezone
H A Ddate_timezone_set_basic1.phpt8 * Alias to functions: DateTime::setTimezone
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 Ddate_timezone_set_error.phpt8 * Alias to functions: DateTime::setTimezone
H A DDateTime_verify.phpt104 string(11) "setTimezone"
H A Ddate_timezone_set_variation1.phpt8 * Alias to functions: DateTime::setTimezone
H A Ddate_timezone_set_variation2.phpt8 * Alias to functions: DateTime::setTimezone
/PHP-5.6/ext/date/
H A Dphp_date.h80 PHP_METHOD(DateTimeImmutable, setTimezone);
H A Dphp_date.c478 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 Ddateformat_format.phpt79 $d2->setTimezone(new DateTimeZone("PDT"));
H A Ddateformat_format_variant2.phpt79 $d2->setTimezone(new DateTimeZone("PDT"));
H A Ddateformat_format_variant3.phpt79 $d2->setTimezone(new DateTimeZone("PDT"));

Completed in 46 milliseconds