Searched refs:date2 (Results 1 – 6 of 6) sorted by relevance
/webtrees/tests/app/Date/ |
H A D | AbstractCalendarDateTest.php | 31 $date2 = new GregorianDate(['1930', 'FEB', '3']); 32 self::assertSame([29, 11, 27], $date1->ageDifference($date2)); 35 $date2 = new GregorianDate(['1900', 'JUN', '3']); 36 self::assertSame([0, 3, 27], $date1->ageDifference($date2)); 39 $date2 = new GregorianDate(['1900', 'JUL', '3']); 40 self::assertSame([0, 4, 27], $date1->ageDifference($date2)); 43 $date2 = new GregorianDate(['1900', 'AUG', '3']); 44 self::assertSame([0, 5, 27], $date1->ageDifference($date2)); 47 $date2 = new GregorianDate(['1900', 'FEB', '7']); 48 self::assertSame([0, 0, 3], $date1->ageDifference($date2)); [all …]
|
/webtrees/app/ |
H A D | Date.php | 48 private AbstractCalendarDate|null $date2 = null; variable in Fisharebest\\Webtrees\\Date 71 $this->date2 = $calendar_date_factory->make($match[4]); 87 if ($this->date2 !== null) { 88 $this->date2 = clone $this->date2; 121 if ($this->date2 === null) { 124 $d2 = $this->date2->format($date_format, $this->qual2); 137 if ($this->date2 === null) { 141 $d2conv = $this->date2->convertToCalendar($cal_fmt); 160 if ($this->date2 !== null && $d2 !== $d2tmp && $d1tmp !== '') { 173 if ($this->date2 instanceof AbstractCalendarDate) { [all …]
|
H A D | Relationship.php | 404 …$date2 = $nodes[2]->facts(['BIRT'], false, Auth::PRIV_HIDE)->map(fn (Fact $fact): Date => $fact->d… 406 return Date::compare($date1, $date2) > 0; 503 …$date2 = $nodes[2]->facts(['BIRT'], false, Auth::PRIV_HIDE)->map(fn (Fact $fact): Date => $fact->d… 507 $date2->isOK() && 508 abs($date1->julianDay() - $date2->julianDay()) < 2 && 510 $date2->minimumDate()->day > 0; 531 …$date2 = $nodes[2]->facts(['BIRT'], false, Auth::PRIV_HIDE)->map(fn (Fact $fact): Date => $fact->d… 533 return Date::compare($date1, $date2) < 0;
|
/webtrees/app/Report/ |
H A D | ReportParserGenerate.php | 2211 $date2 = new Date($val); 2212 $keep = (Date::compare($date1, $date2) >= 0); 2220 $date2 = new Date($val); 2221 $keep = (Date::compare($date1, $date2) <= 0);
|
/webtrees/resources/lang/zh-Hans/ |
H A D | messages.po | 22767 # I18N: From date1 (To date2) 23177 # I18N: (From date1) To date2
|
/webtrees/resources/lang/zh-Hant/ |
H A D | messages.po | 22751 # I18N: From date1 (To date2) 23188 # I18N: (From date1) To date2
|