Home
last modified time | relevance | path

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

/PHP-5.6/ext/date/tests/
H A DDateTime_setDate_error.phpt2 Test DateTime::setDate() function : error conditions
5 /* Prototype : public DateTime DateTime::setDate ( int $year , int $month , int $day )
13 echo "*** Testing DateTime::setDate() : error conditions ***\n";
17 echo "\n-- Testing DateTime::setDate() function with zero arguments --\n";
18 var_dump( $datetime->setDate() );
24 var_dump( $datetime->setDate($year) );
25 var_dump( $datetime->setDate($year, $month) );
29 var_dump( $datetime->setDate($year, $month, $day, $extra_arg) );
34 *** Testing DateTime::setDate() : error conditions ***
36 -- Testing DateTime::setDate() function with zero arguments --
[all …]
H A DDateTime_setDate_basic1.phpt2 Test DateTime::setDate() function : basic functionality
5 /* Prototype : public DateTime DateTime::setDate ( int $year , int $month , int $day )
14 echo "*** Testing DateTime::setDate() : basic functionality ***\n";
20 $datetime->setDate(2008, 02, 01);
27 *** Testing DateTime::setDate() : basic functionality ***
H A DDateTime_setDate_variation1.phpt2 Test DateTime::setDate() function : usage variation - Passing unexpected values to first argument $…
5 /* Prototype : public DateTime DateTime::setDate ( int $year , int $month , int $day )
104 var_dump( $object->setDate($year, $month, $day) );
187 Warning: DateTime::setDate() expects parameter 1 to be long, array given in %s on line %d
192 Warning: DateTime::setDate() expects parameter 1 to be long, array given in %s on line %d
197 Warning: DateTime::setDate() expects parameter 1 to be long, array given in %s on line %d
202 Warning: DateTime::setDate() expects parameter 1 to be long, array given in %s on line %d
267 Warning: DateTime::setDate() expects parameter 1 to be long, string given in %s on line %d
272 Warning: DateTime::setDate() expects parameter 1 to be long, string given in %s on line %d
277 Warning: DateTime::setDate() expects parameter 1 to be long, string given in %s on line %d
[all …]
H A DDateTime_setDate_variation2.phpt2 Test DateTime::setDate() function : usage variation - Passing unexpected values to second argument …
5 /* Prototype : public DateTime DateTime::setDate ( int $year , int $month , int $day )
104 var_dump( $object->setDate($year, $month, $day) );
187 Warning: DateTime::setDate() expects parameter 2 to be long, array given in %s on line %d
192 Warning: DateTime::setDate() expects parameter 2 to be long, array given in %s on line %d
197 Warning: DateTime::setDate() expects parameter 2 to be long, array given in %s on line %d
202 Warning: DateTime::setDate() expects parameter 2 to be long, array given in %s on line %d
267 Warning: DateTime::setDate() expects parameter 2 to be long, string given in %s on line %d
272 Warning: DateTime::setDate() expects parameter 2 to be long, string given in %s on line %d
277 Warning: DateTime::setDate() expects parameter 2 to be long, string given in %s on line %d
[all …]
H A DDateTime_setDate_variation3.phpt2 Test DateTime::setDate() function : usage variation - Passing unexpected values to third argument $…
5 /* Prototype : public DateTime DateTime::setDate ( int $year , int $month , int $day )
104 var_dump( $object->setDate($year, $month, $day) );
187 Warning: DateTime::setDate() expects parameter 3 to be long, array given in %s on line %d
192 Warning: DateTime::setDate() expects parameter 3 to be long, array given in %s on line %d
197 Warning: DateTime::setDate() expects parameter 3 to be long, array given in %s on line %d
202 Warning: DateTime::setDate() expects parameter 3 to be long, array given in %s on line %d
267 Warning: DateTime::setDate() expects parameter 3 to be long, string given in %s on line %d
272 Warning: DateTime::setDate() expects parameter 3 to be long, string given in %s on line %d
277 Warning: DateTime::setDate() expects parameter 3 to be long, string given in %s on line %d
[all …]
H A DDateTime_data-massive.inc16 $end->setDate(333333, 1, 1);
20 $start->setDate(-333333, 1, 1);
27 $end->setDate(-333333, 1, 1);
31 $start->setDate(333333, 1, 1);
H A Dbug42910.phpt12 $foo->setDate(2007, 03, 12);
13 $bar->setDate(2007, 03, 12);
H A Dbug52290.phpt2 Bug #52290 (setDate, setISODate, setTime works wrong when DateTime created from timestamp)
17 $dt->setDate(2007, 10, 10);
H A Dbug49585.phpt10 $date->setDate(-2147483648, 1, 1);
H A Dbug71525.phpt9 $date->setDate('2012', '1', '29');
H A Ddate_time_immutable.phpt74 $x = $z->setDate(5, 7, 19);
78 $x = $z->setDate(5, 7, 19);
145 setDate():
H A Ddate_date_set_basic1.phpt8 * Alias to functions: DateTime::setDate
H A DDateTime_extends_basic1.phpt29 $d->setDate(1963, 7, 2);
H A Ddate_date_set_error.phpt8 * Alias to functions: DateTime::setDate
H A DDateTime_verify.phpt125 string(7) "setDate"
H A Ddate_date_set_variation2.phpt8 * Alias to functions: DateTime::setDate
H A Ddate_date_set_variation3.phpt8 * Alias to functions: DateTime::setDate
H A Ddate_date_set_variation4.phpt8 * Alias to functions: DateTime::setDate
H A Ddate_date_set_variation1.phpt8 * Alias to functions: DateTime::setDate
/PHP-5.6/ext/date/
H A Dphp_date.h82 PHP_METHOD(DateTimeImmutable, setDate);
H A Dphp_date.c481 PHP_ME_MAPPING(setDate, date_date_set, arginfo_date_method_date_set, 0)
505 PHP_ME(DateTimeImmutable, setDate, arginfo_date_method_date_set, 0)
3517 PHP_METHOD(DateTimeImmutable, setDate) in PHP_METHOD() argument
/PHP-5.6/ext/intl/msgformat/
H A Dmsgformat_helpers.cpp566 formattable.setDate(dd); in umsg_format_helper()
/PHP-5.6/
H A DNEWS5949 . Fixed bug #52290 (setDate, setISODate, setTime works wrong when DateTime

Completed in 73 milliseconds