Home
last modified time | relevance | path

Searched refs:DateTimeImmutable (Results 1 – 13 of 13) sorted by relevance

/PHP-5.6/ext/date/tests/
H A DDateTimeImmutable_createFromMutable.phpt2 Tests for DateTimeImmutable::createFromMutable.
9 $i = DateTimeImmutable::createFromMutable( date_create( $current ) );
12 $i = DateTimeImmutable::createFromMutable( date_create_immutable( $current ) );
16 object(DateTimeImmutable)#%d (3) {
25 Warning: DateTimeImmutable::createFromMutable() expects parameter 1 to be DateTime, object given in…
H A Dbug65502.phpt2 Test for bug #65502: DateTimeImmutable::createFromFormat returns DateTime
9 echo get_class(DateTimeImmutable::createFromFormat('j-M-Y', '12-Sep-2013'));
12 DateTimeImmutable
H A Ddate_period-immutable.phpt6 $db1 = new DateTimeImmutable( '2008-01-01' );
28 DateTimeImmutable
33 DateTimeImmutable
38 DateTimeImmutable
H A Dbug65548.phpt2 Test for bug #65548: Comparison for DateTimeImmutable doesn't work
9 $iToday = new DateTimeImmutable('today');
10 $iTomorrow = new DateTimeImmutable('tomorrow');
H A Dbug71635.phpt6 $period = new DatePeriod(new DateTimeImmutable("now"), new DateInterval("P2Y4DT6H8M"), 2);
H A D68062.phpt7 $dt = new DateTimeImmutable('2014-09-20', $tz);
H A Ddate_time_immutable-inherited.phpt2 Tests for DateTimeImmutable.
H A Dbug63740.phpt21 $dt = new DateTimeImmutable( "$date 00:00 UTC" );
H A Ddate_time_immutable.phpt2 Tests for DateTimeImmutable.
56 $v = new DateTimeImmutable($current);
/PHP-5.6/ext/date/
H A Dphp_date.h75 PHP_METHOD(DateTimeImmutable, __construct);
76 PHP_METHOD(DateTimeImmutable, __set_state);
77 PHP_METHOD(DateTimeImmutable, modify);
78 PHP_METHOD(DateTimeImmutable, add);
79 PHP_METHOD(DateTimeImmutable, sub);
80 PHP_METHOD(DateTimeImmutable, setTimezone);
81 PHP_METHOD(DateTimeImmutable, setTime);
82 PHP_METHOD(DateTimeImmutable, setDate);
83 PHP_METHOD(DateTimeImmutable, setISODate);
84 PHP_METHOD(DateTimeImmutable, setTimestamp);
[all …]
H A Dphp_date.c2765 PHP_METHOD(DateTimeImmutable, __construct) in PHP_METHOD() argument
2783 PHP_METHOD(DateTimeImmutable, createFromMutable) in PHP_METHOD() argument
2882 PHP_METHOD(DateTimeImmutable, __set_state) in PHP_METHOD() argument
3175 PHP_METHOD(DateTimeImmutable, modify) in PHP_METHOD() argument
3229 PHP_METHOD(DateTimeImmutable, add) in PHP_METHOD() argument
3284 PHP_METHOD(DateTimeImmutable, sub) in PHP_METHOD() argument
3386 PHP_METHOD(DateTimeImmutable, setTimezone) in PHP_METHOD() argument
3469 PHP_METHOD(DateTimeImmutable, setTime) in PHP_METHOD() argument
3517 PHP_METHOD(DateTimeImmutable, setDate) in PHP_METHOD() argument
3569 PHP_METHOD(DateTimeImmutable, setISODate) in PHP_METHOD() argument
[all …]
/PHP-5.6/tests/classes/
H A Dbug65768.phpt9 $dti1 = new DateTimeImmutable("2010-10-25");
10 $dti2 = new DateTimeImmutable("2010-10-28");
26 class cdt2 extends DateTimeImmutable implements DateTimeInterface {}
/PHP-5.6/
H A DNEWS1006 . Fixed bug #70619 (DateTimeImmutable segfault). (Laruence)
2101 . Added DateTimeImmutable::createFromMutable to create a DateTimeImmutable
2970 . Fixed bug #65768 (DateTimeImmutable::diff does not work). (Nikita Nefedov)
3103 . Fixed bug #65502 (DateTimeImmutable::createFromFormat returns DateTime).
3105 . Fixed bug #65548 (Comparison for DateTimeImmutable doesn't work).
3533 . Added DateTimeImmutable - a variant of DateTime that only returns the

Completed in 106 milliseconds