Searched refs:DateTimeImmutable (Results 1 – 13 of 13) sorted by relevance
/PHP-5.6/ext/date/tests/ |
H A D | DateTimeImmutable_createFromMutable.phpt | 2 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 D | bug65502.phpt | 2 Test for bug #65502: DateTimeImmutable::createFromFormat returns DateTime 9 echo get_class(DateTimeImmutable::createFromFormat('j-M-Y', '12-Sep-2013')); 12 DateTimeImmutable
|
H A D | date_period-immutable.phpt | 6 $db1 = new DateTimeImmutable( '2008-01-01' ); 28 DateTimeImmutable 33 DateTimeImmutable 38 DateTimeImmutable
|
H A D | bug65548.phpt | 2 Test for bug #65548: Comparison for DateTimeImmutable doesn't work 9 $iToday = new DateTimeImmutable('today'); 10 $iTomorrow = new DateTimeImmutable('tomorrow');
|
H A D | bug71635.phpt | 6 $period = new DatePeriod(new DateTimeImmutable("now"), new DateInterval("P2Y4DT6H8M"), 2);
|
H A D | 68062.phpt | 7 $dt = new DateTimeImmutable('2014-09-20', $tz);
|
H A D | date_time_immutable-inherited.phpt | 2 Tests for DateTimeImmutable.
|
H A D | bug63740.phpt | 21 $dt = new DateTimeImmutable( "$date 00:00 UTC" );
|
H A D | date_time_immutable.phpt | 2 Tests for DateTimeImmutable. 56 $v = new DateTimeImmutable($current);
|
/PHP-5.6/ext/date/ |
H A D | php_date.h | 75 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 D | php_date.c | 2765 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 D | bug65768.phpt | 9 $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 D | NEWS | 1006 . 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