Home
last modified time | relevance | path

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

12

/PHP-5.6/ext/date/tests/
H A DDateTime_setTime_error.phpt2 Test DateTime::setTime() function : error conditions
13 echo "*** Testing DateTime::setTime() : error conditions ***\n";
17 echo "\n-- Testing DateTime::setTime() function with zero arguments --\n";
18 var_dump( $datetime->setTime() );
22 var_dump( $datetime->setTime($hour) );
28 var_dump( $datetime->setTime($hour, $min, $sec, $extra_arg) );
33 *** Testing DateTime::setTime() : error conditions ***
35 -- Testing DateTime::setTime() function with zero arguments --
40 -- Testing DateTime::setTime() function with less than expected no. of arguments --
45 -- Testing DateTime::setTime() function with more than expected no. of arguments --
[all …]
H A DDateTime_setTime_basic1.phpt2 Test DateTime::setTime() function : basic functionality
5 /* Prototype : public DateTime DateTime::setTime ( int $hour , int $minute [, int $second ] )
14 echo "*** Testing DateTime::setTime() : basic functionality ***\n";
21 $datetime->setTime(17, 20);
24 $datetime->setTime(19, 05, 59);
27 $datetime->setTime(24, 10);
30 $datetime->setTime(47, 35, 47);
33 $datetime->setTime(54, 25);
39 *** Testing DateTime::setTime() : basic functionality ***
H A DDateTime_setTime_variation1.phpt2 Test DateTime::setTime() function : usage variation - Passing unexpected values to first argument $…
5 /* Prototype : public DateTime DateTime::setTime ( int $hour , int $minute [, int $second ] ) …
104 var_dump( $object->setTime($hour, $minute, $sec) );
187 Warning: DateTime::setTime() expects parameter 1 to be long, array given in %s on line %d
192 Warning: DateTime::setTime() expects parameter 1 to be long, array given in %s on line %d
197 Warning: DateTime::setTime() expects parameter 1 to be long, array given in %s on line %d
202 Warning: DateTime::setTime() expects parameter 1 to be long, array given in %s on line %d
267 Warning: DateTime::setTime() expects parameter 1 to be long, string given in %s on line %d
272 Warning: DateTime::setTime() expects parameter 1 to be long, string given in %s on line %d
277 Warning: DateTime::setTime() expects parameter 1 to be long, string given in %s on line %d
[all …]
H A DDateTime_setTime_variation2.phpt2 Test DateTime::setTime() function : usage variation - Passing unexpected values to second argument …
5 /* Prototype : public DateTime DateTime::setTime ( int $hour , int $minute [, int $second ] ) …
104 var_dump( $object->setTime($hour, $minute, $sec) );
187 Warning: DateTime::setTime() expects parameter 2 to be long, array given in %s on line %d
192 Warning: DateTime::setTime() expects parameter 2 to be long, array given in %s on line %d
197 Warning: DateTime::setTime() expects parameter 2 to be long, array given in %s on line %d
202 Warning: DateTime::setTime() expects parameter 2 to be long, array given in %s on line %d
267 Warning: DateTime::setTime() expects parameter 2 to be long, string given in %s on line %d
272 Warning: DateTime::setTime() expects parameter 2 to be long, string given in %s on line %d
277 Warning: DateTime::setTime() expects parameter 2 to be long, string given in %s on line %d
[all …]
H A DDateTime_setTime_variation3.phpt2 Test DateTime::setTime() function : usage variation - Passing unexpected values to third argument $…
5 /* Prototype : public DateTime DateTime::setTime ( int $hour , int $minute [, int $second ] ) …
104 var_dump( $object->setTime($hour, $minute, $sec) );
187 Warning: DateTime::setTime() expects parameter 3 to be long, array given in %s on line %d
192 Warning: DateTime::setTime() expects parameter 3 to be long, array given in %s on line %d
197 Warning: DateTime::setTime() expects parameter 3 to be long, array given in %s on line %d
202 Warning: DateTime::setTime() expects parameter 3 to be long, array given in %s on line %d
267 Warning: DateTime::setTime() expects parameter 3 to be long, string given in %s on line %d
272 Warning: DateTime::setTime() expects parameter 3 to be long, string given in %s on line %d
277 Warning: DateTime::setTime() expects parameter 3 to be long, string given in %s on line %d
[all …]
H A DDateTime_data-massive.inc17 $end->setTime(16, 18, 02);
21 $start->setTime(16, 18, 02);
28 $end->setTime(16, 18, 02);
32 $start->setTime(16, 18, 02);
H A Ddate-lenient-create.phpt11 print_r( date_create_from_format( 'm/d/y+', $date , $tz)->setTime(0, 0) );
14 print_r( date_create_from_format( '+m/d/y', $date , $tz)->setTime(0, 0) );
17 print_r( date_create_from_format( 'm/d/y++', $date , $tz)->setTime(0, 0) );
22 print_r( date_create_from_format( 'm/d/y+', $date , $tz)->setTime(0, 0) );
25 print_r( date_create_from_format( '+m/d/y', $date , $tz)->setTime(0, 0) );
H A Dbug39782.phpt2 Bug #39782 (setTime() on a DateTime constructed with a Weekday yields incorrect results)
10 $dttTest->setTime(12, 0, 0);
13 $dttTest->setTime(12, 0, 0);
H A Dbug41599.phpt2 Bug #41599 (setTime() fails after modify() is used)
15 $start->setTime(4, 0, 0);
19 $start->setTime(8, 0, 0);
H A Dbug50475.phpt2 Bug #50475 (DateTime::setISODate followed by DateTime::setTime)
13 $date->setTime(8, 0);
H A Dbug46268.phpt2 Bug #46268 (When call DateTime#setTime, it seems to be called the last modify method too)
16 $now->setTime(0, 0, 0);
H A Dbug52290.phpt2 Bug #52290 (setDate, setISODate, setTime works wrong when DateTime created from timestamp)
20 $dt->setTime(20, 30, 40);
H A DDateTime_clone_basic1.phpt18 $orig->setTime(22, 41, 50);
H A Dbug52342.phpt7 $from->setTime(0, 0, 0);
H A Ddate_time_immutable.phpt64 $x = $z->setTime(5, 7, 19);
68 $x = $z->setTime(5, 7, 19);
137 setTime():
/PHP-5.6/ext/intl/tests/
H A Dcalendar_setTime_error.phpt2 IntlCalendar::setTime(): bad arguments
15 var_dump($c->setTime(1, 2));
16 var_dump($c->setTime("jjj"));
22 Warning: IntlCalendar::setTime() expects exactly 1 parameter, 2 given in %s on line %d
24 Warning: IntlCalendar::setTime(): intlcal_set_time: bad arguments in %s on line %d
27 Warning: IntlCalendar::setTime() expects parameter 1 to be double, string given in %s on line %d
29 Warning: IntlCalendar::setTime(): intlcal_set_time: bad arguments in %s on line %d
H A Dcalendar_inDaylightTime_basic.phpt15 $intlcal->setTime(strtotime('2012-01-01') * 1000);
17 $intlcal->setTime(strtotime('2012-04-01') * 1000);
H A Dcalendar_fieldDifference_basic.phpt15 $intlcal->setTime(strtotime('2012-02-29 05:06:07 +0000') * 1000);
23 $intlcal->setTime(strtotime('2012-02-29 05:06:07 +0000') * 1000);
H A Dcalendar_setTime_basic.phpt2 IntlCalendar::setTime() basic test
17 $intlcal->setTime($time * 1000);
H A Dcalendar_add_basic.phpt18 $intlcal->setTime($time * 1000);
H A Dcalendar_getXMaximum_basic.phpt15 $intlcal->setTime(strtotime('2012-02-29 05:06:07 +0000') * 1000);
H A Dcalendar_getXMinimum_basic.phpt15 $intlcal->setTime(strtotime('2012-02-29 05:06:07 +0000') * 1000);
H A Dcalendar_clear_variation1.phpt15 $intlcal->setTime(strtotime('2012-02-29 05:06:07 +0000') * 1000);
H A Dcalendar_getDayOfWeekType_basic2.phpt17 $intlcal->setTime(strtotime('2012-02-29 00:00:00 +0000') * 1000);
H A Dcalendar_getDayOfWeekType_basic.phpt17 $intlcal->setTime(strtotime('2012-02-29 00:00:00 +0000') * 1000);

Completed in 34 milliseconds

12