Searched refs:ageDifference (Results 1 – 3 of 3) sorted by relevance
/webtrees/tests/app/Date/ |
H A D | AbstractCalendarDateTest.php | 32 self::assertSame([29, 11, 27], $date1->ageDifference($date2)); 36 self::assertSame([0, 3, 27], $date1->ageDifference($date2)); 40 self::assertSame([0, 4, 27], $date1->ageDifference($date2)); 44 self::assertSame([0, 5, 27], $date1->ageDifference($date2)); 48 self::assertSame([0, 0, 3], $date1->ageDifference($date2)); 52 self::assertSame([0, 0, 0], $date1->ageDifference($date2)); 56 self::assertSame([-1, 11, 27], $date1->ageDifference($date2)); 60 self::assertSame([-31, 11, 27], $date1->ageDifference($date2)); 67 self::assertSame([-1, -1, -1], $date1->ageDifference($date2)); 71 self::assertSame([-1, -1, -1], $date1->ageDifference($date2)); [all …]
|
/webtrees/app/ |
H A D | Age.php | 51 [$this->years, $this->months, $this->days] = $start->ageDifference($end);
|
/webtrees/app/Date/ |
H A D | AbstractCalendarDate.php | 347 public function ageDifference(AbstractCalendarDate $date): array function in Fisharebest\\Webtrees\\Date\\AbstractCalendarDate
|