Annotation of embedaddon/php/ext/date/tests/DateTime_diff-absolute.phpt, revision 1.1.1.1
1.1 misho 1: --TEST--
2: DateTime::diff() -- absolute
3: --CREDITS--
4: Daniel Convissor <danielc@php.net>
5: --FILE--
6: <?php
7:
8: require 'examine_diff.inc';
9: define('PHPT_DATETIME_SHOW', PHPT_DATETIME_SHOW_DIFF);
10: require 'DateTime_data-absolute.inc';
11:
12: ?>
13: --EXPECT--
14: test_absolute_7: DIFF: 2009-01-14 00:00:00 EST - 2009-01-07 00:00:00 EST = **P+0Y0M7DT0H0M0S**
15: test_absolute_negative_7: DIFF: 2009-01-07 00:00:00 EST - 2009-01-14 00:00:00 EST = **P+0Y0M7DT0H0M0S**
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>