Annotation of embedaddon/php/ext/date/tests/DateTime_days-dates.phpt, revision 1.1.1.1
1.1 misho 1: --TEST--
2: DateTime::diff() days -- dates
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_DAYS);
10: require 'DateTime_data-dates.inc';
11:
12: ?>
13: --EXPECT--
14: test__7: DAYS: **7**
15: test_years_positive__7_by_0_day: DAYS: **2557**
16: test_years_positive__7_by_1_day: DAYS: **2558**
17: test_years_positive__6_shy_1_day: DAYS: **2556**
18: test_years_positive__7_by_1_month: DAYS: **2585**
19: test_years_positive__6_shy_1_month: DAYS: **2526**
20: test_years_positive__7_by_1_month_split_newyear: DAYS: **2588**
21: test_years_positive__6_shy_1_month_split_newyear: DAYS: **2526**
22: test_negative__7: DAYS: **7**
23: test_years_negative__7_by_0_day: DAYS: **2557**
24: test_years_negative__7_by_1_day: DAYS: **2558**
25: test_years_negative__6_shy_1_day: DAYS: **2556**
26: test_years_negative__7_by_1_month: DAYS: **2585**
27: test_years_negative__6_shy_1_month: DAYS: **2526**
28: test_years_negative__7_by_1_month_split_newyear: DAYS: **2588**
29: test_years_negative__6_shy_1_month_split_newyear: DAYS: **2526**
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>