Lines Matching refs:date1

30         $date1 = new GregorianDate(['1900', 'FEB', '4']);
32 self::assertSame([29, 11, 27], $date1->ageDifference($date2));
34 $date1 = new GregorianDate(['1900', 'FEB', '4']);
36 self::assertSame([0, 3, 27], $date1->ageDifference($date2));
38 $date1 = new GregorianDate(['1900', 'FEB', '4']);
40 self::assertSame([0, 4, 27], $date1->ageDifference($date2));
42 $date1 = new GregorianDate(['1900', 'FEB', '4']);
44 self::assertSame([0, 5, 27], $date1->ageDifference($date2));
46 $date1 = new GregorianDate(['1900', 'FEB', '4']);
48 self::assertSame([0, 0, 3], $date1->ageDifference($date2));
50 $date1 = new GregorianDate(['1900', 'FEB', '4']);
52 self::assertSame([0, 0, 0], $date1->ageDifference($date2));
54 $date1 = new GregorianDate(['1900', 'FEB', '4']);
56 self::assertSame([-1, 11, 27], $date1->ageDifference($date2));
58 $date1 = new GregorianDate(['1930', 'FEB', '4']);
60 self::assertSame([-31, 11, 27], $date1->ageDifference($date2));
65 $date1 = new GregorianDate(['', 'FEB', '4']);
67 self::assertSame([-1, -1, -1], $date1->ageDifference($date2));
69 $date1 = new GregorianDate(['1900', 'FEB', '4']);
71 self::assertSame([-1, -1, -1], $date1->ageDifference($date2));
73 $date1 = new GregorianDate(['1900', 'FEB', '']);
75 self::assertSame([0, 0, 0], $date1->ageDifference($date2));
77 $date1 = new GregorianDate(['1900', '', '']);
79 self::assertSame([0, 0, 0], $date1->ageDifference($date2));
81 $date1 = new GregorianDate(['1900', 'FEB', '3']);
83 self::assertSame([0, 0, 0], $date1->ageDifference($date2));
85 $date1 = new GregorianDate(['1900', 'FEB', '3']);
87 self::assertSame([0, 0, 0], $date1->ageDifference($date2));
89 $date1 = new GregorianDate(['1900', 'JAN', '']);
91 self::assertSame([0, 1, 3], $date1->ageDifference($date2));
93 $date1 = new GregorianDate(['1900', 'JAN', '']);
95 self::assertSame([1, 2, 3], $date1->ageDifference($date2));
97 $date1 = new GregorianDate(['1900', 'JAN', '4']);
99 self::assertSame([0, 0, 28], $date1->ageDifference($date2));
104 $date1 = new GregorianDate(['1900', 'FEB', '4']);
106 self::assertSame([0, 0, 0], $date1->ageDifference($date2));
108 $date1 = new GregorianDate(['1900', '', '']);
110 self::assertSame([0, 0, 0], $date1->ageDifference($date2));