Home
last modified time | relevance | path

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

12

/PHP-8.0/ext/date/tests/
H A DDateTime_setTime_basic1.phpt2 Test DateTime::setTime() function : basic functionality
8 echo "*** Testing DateTime::setTime() : basic functionality ***\n";
15 $datetime->setTime(17, 20);
18 $datetime->setTime(19, 05, 59);
21 $datetime->setTime(24, 10);
24 $datetime->setTime(47, 35, 47);
27 $datetime->setTime(54, 25);
32 *** Testing DateTime::setTime() : basic functionality ***
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 Dbug79396-forward-transition-settime.phpt8 echo $date->setTime(2, 0)->format('Y-m-d H:i:s T/e - U') . "\n";
11 echo $date->setTime(2, 30)->format('Y-m-d H:i:s T/e - U') . "\n";
14 echo $date->setTime(3, 0)->format('Y-m-d H:i:s T/e - U') . "\n";
17 echo $date->setTime(1, 59, 59)->format('Y-m-d H:i:s T/e - U') . "\n";
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 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 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);
/PHP-8.0/Zend/tests/parameter_default_values/
H A Dinternal_declaration_error_int.phpt7 public function setTime(int $hour, int $minute, int $second = 0, bool $microsecond = false)
13 …on of MyDateTime::setTime(int $hour, int $minute, int $second = 0, bool $microsecond = false) must…
/PHP-8.0/ext/intl/tests/
H A Dcalendar_inDaylightTime_basic.phpt15 $intlcal->setTime(strtotime('2012-01-01') * 1000);
17 $intlcal->setTime(strtotime('2012-04-01') * 1000);
H A Dcalendar_setTime_basic.phpt2 IntlCalendar::setTime() basic test
17 $intlcal->setTime($time * 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_error.phpt2 IntlCalendar::setTime(): bad arguments
H A Dbug69398.phpt11 $date->setTime($millitimestamp);
H A Dcalendar_add_basic.phpt18 $intlcal->setTime($time * 1000);
H A Dcalendar_clear_variation1.phpt15 $intlcal->setTime(strtotime('2012-02-29 05:06:07 +0000') * 1000);
H A Dcalendar_getDayOfWeekType_basic.phpt17 $intlcal->setTime(strtotime('2012-02-29 00:00:00 +0000') * 1000);
H A Dcalendar_getDayOfWeekType_basic2.phpt17 $intlcal->setTime(strtotime('2012-02-29 00:00:00 +0000') * 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 Dbug69374.phpt13 $date->setTime($millitimestamp);
/PHP-8.0/ext/reflection/tests/internal_parameter_default_value/
H A DReflectionParameter_isDefaultValueAvailable_Internal.phpt6 $method = $class->getMethod('setTime');

Completed in 23 milliseconds

12