Home
last modified time | relevance | path

Searched refs:interval (Results 26 – 50 of 57) sorted by relevance

123

/PHP-8.0/ext/date/tests/
H A DDatePeriod_no_advance_on_valid.phpt8 $interval = DateInterval::createFromDateString('1 day');
9 $period = new DatePeriod($start, $interval, $end);
23 $period = new DatePeriod($start, $interval, $end, DatePeriod::EXCLUDE_START_DATE);
H A DDateInterval_format_a.phpt18 $interval = $date1->diff($date2);
20 echo $interval->format('a=%a') . "\n";
H A DDatePeriod_properties2.phpt16 "interval",
45 Writing to DatePeriod->interval is unsupported
46 Retrieval of DatePeriod->interval for modification is unsupported
H A Dbug44562.phpt14 $interval = DateInterval::createFromDateString( "1 day" );
16 $dp = new DatePeriod( $begin, $interval, 10 );
H A Ddate_add_basic.phpt23 foreach($intervals as $interval) {
24 date_add($d, new DateInterval($interval) );
H A Ddate_sub_basic.phpt23 foreach($intervals as $interval) {
24 date_sub($d, new DateInterval($interval) );
H A Dbug52668.phpt8 $interval = DateInterval::createFromDateString('next day');
9 $dp = new DatePeriod($start, $interval, 1);
H A Dbug52808.phpt2 Bug #52808 (Segfault when specifying interval as two dates)
130 DateInterval::__construct(): Failed to parse interval (2007-05-11T15:30:00Z/)
131 DateInterval::__construct(): Failed to parse interval (2007-05-11T15:30:00Z)
H A Dbug65672.phpt8 $interval = new DateInterval('P1D');
9 $period = new class(new DateTime, $interval, new DateTime) extends DatePeriod {
H A Dbug49081.phpt2 Bug #49081 (DateTime::diff() mistake if start in January and interval > 28 days)
H A Dbug53437.phpt52 ["interval"]=>
113 ["interval"]=>
H A Dbug49778.phpt2 Bug #49778 (DateInterval::format("%a") is always zero when an interval is created from an ISO strin…
H A Dbug60774.phpt2 Bug #60774 (DateInterval::format("%a") is always zero when an interval is created using the createF…
H A DDatePeriod_set_state.phpt36 ["interval"]=>
H A Dexamine_diff.inc26 * special interval specification used for this test suite.
30 * interval's "days" property
H A Dbug52113.phpt136 ["interval"]=>
224 ["interval"]=>
/PHP-8.0/ext/zlib/tests/
H A Dgztell_basic.phpt17 foreach ($intervals as $interval) {
18 gzread($h, $interval);
/PHP-8.0/ext/date/
H A Dphp_date.stub.php54 function date_add(DateTime $object, DateInterval $interval): DateTime {} argument
56 function date_sub(DateTime $object, DateInterval $interval): DateTime {} argument
184 public function add(DateInterval $interval) {} argument
190 public function sub(DateInterval $interval) {} argument
303 public function add(DateInterval $interval) {} argument
306 public function sub(DateInterval $interval) {} argument
403 * @param DateInterval|int $interval
407 public function __construct($start, $interval = UNKNOWN, $end = UNKNOWN, $options = UNKNOWN) {} argument
H A Dconfig.w325 …w.c parse_date.c parse_tz.c tm2unixtime.c unixtime2tm.c parse_iso_intervals.c interval.c", "date");
H A Dconfig0.m49 … lib/timelib.c lib/tm2unixtime.c lib/unixtime2tm.c lib/parse_iso_intervals.c lib/interval.c"
H A Dphp_date.c1524 it_time->relative = *interval; in date_period_advance()
2148 if (old_obj->interval) { in date_object_clone_period()
2149 new_obj->interval = timelib_rel_time_clone(old_obj->interval); in date_object_clone_period()
2960 intobj = Z_PHPINTERVAL_P(interval); in php_date_add()
2971 zval *object, *interval; in PHP_FUNCTION() local
3024 zval *object, *interval; in PHP_FUNCTION() local
3405 php_interval_obj *interval; in PHP_FUNCTION() local
3422 interval->diff->invert = 0; in PHP_FUNCTION()
3424 interval->initialized = 1; in PHP_FUNCTION()
4226 if (dpobj->interval == NULL) { in PHP_METHOD()
[all …]
H A Dphp_date.h86 timelib_rel_time *interval; member
/PHP-8.0/ext/oci8/tests/
H A Dbug42173.phpt35 interval'1-2' year to month,
36 interval'10-4' year to month,
37 interval'1 2:20:20.123' day to second,
38 interval'1 2:20:20.12345' day to second)");
/PHP-8.0/ext/opcache/tests/jit/
H A Dbug80634.phpt21 Fatal error: Uncaught Error: Writing to DatePeriod->interval is unsupported in %spreload_bug80634.i…
/PHP-8.0/ext/openssl/tests/
H A Dbug74159.phpt13 // the server code is doing many readings in a short interval which is

Completed in 56 milliseconds

123