Searched refs:date1 (Results 1 – 6 of 6) sorted by relevance
/webtrees/tests/app/Date/ |
H A D | AbstractCalendarDateTest.php | 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)); [all …]
|
/webtrees/app/ |
H A D | Date.php | 42 private AbstractCalendarDate $date1; variable in Fisharebest\\Webtrees\\Date 69 $this->date1 = $calendar_date_factory->make($match[2]); 74 $this->date1 = $calendar_date_factory->make($match[2]); 76 $this->date1 = $calendar_date_factory->make($date); 86 $this->date1 = clone $this->date1; 119 $d1 = $this->date1->format($date_format, $this->qual1); 131 $d1conv = $this->date1->convertToCalendar($cal_fmt); 172 …$d1 = '<a href="' . e($this->date1->calendarUrl($date_format, $tree)) . '" rel="nofollow">' . $d1 … 247 return $this->date1; 259 return $this->date2 ?? $this->date1; [all …]
|
H A D | Relationship.php | 403 …$date1 = $nodes[0]->facts(['BIRT'], false, Auth::PRIV_HIDE)->map(fn (Fact $fact): Date => $fact->d… 406 return Date::compare($date1, $date2) > 0; 502 …$date1 = $nodes[0]->facts(['BIRT'], false, Auth::PRIV_HIDE)->map(fn (Fact $fact): Date => $fact->d… 506 $date1->isOK() && 508 abs($date1->julianDay() - $date2->julianDay()) < 2 && 509 $date1->minimumDate()->day > 0 && 530 …$date1 = $nodes[0]->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 | 2210 $date1 = new Date($v); 2212 $keep = (Date::compare($date1, $date2) >= 0); 2219 $date1 = new Date($v); 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
|