/webtrees/resources/views/ |
H A D | fact-date.phtml | 80 if ($tag === 'DEAT' || Date::compare($date, $death_date) <= 0 || !$record->isDead()) { 110 if ($tag !== 'DEAT' && $death_date->isOK() && Date::compare($death_date, $date) <= 0) { 113 … if ($death_day !== 0 && $event_day !== 0 && Date::compare($death_date, $date) === 0) {
|
/webtrees/app/Census/ |
H A D | CensusColumnChildrenDied.php | 48 Date::compare($child->getBirthDate(), $this->date()) < 0 && 51 Date::compare($child->getDeathDate(), $this->date()) < 0)
|
H A D | CensusColumnChildrenLiving.php | 51 $born_before = $birth->isOK() && Date::compare($birth, $this->date()) < 0; 52 … $died_after = $death->isOK() && Date::compare($death, $this->date()) > 0 || !$death->isOK();
|
H A D | CensusColumnNationality.php | 58 if (Date::compare($fact->date(), $this->date()) <= 0) {
|
H A D | CensusColumnChildrenBornAlive.php | 48 Date::compare($child->getBirthDate(), $this->date()) < 0 &&
|
H A D | CensusColumnYearsMarried.php | 46 if ($fact->date()->isOK() && Date::compare($fact->date(), $this->date()) <= 0) {
|
H A D | AbstractCensusColumnCondition.php | 168 …return $individual->getDeathDate()->isOK() && Date::compare($individual->getDeathDate(), $this->da…
|
H A D | AbstractCensusColumn.php | 100 …->filter(fn (Family $family): bool => Date::compare($family->getMarriageDate(), $this->date()) <= …
|
/webtrees/app/Module/ |
H A D | ModuleHistoricEventsTrait.php | 53 ->filter(static fn (Fact $fact): bool => Date::compare($fact->date(), $min_date) >= 0) 54 ->filter(static fn (Fact $fact): bool => Date::compare($fact->date(), $max_date) <= 0);
|
H A D | BranchesListModule.php | 461 … if ($soundex_std && Soundex::compare(Soundex::russell($surname1), Soundex::russell($surname2))) { 464 …if ($soundex_dm && Soundex::compare(Soundex::daitchMokotoff($surname1), Soundex::daitchMokotoff($s…
|
/webtrees/tests/app/ |
H A D | TimestampTest.php | 129 self::assertSame(-1, $timestamp1->compare($timestamp2)); 130 self::assertSame(0, $timestamp1->compare($timestamp1)); 131 self::assertSame(1, $timestamp2->compare($timestamp1));
|
/webtrees/app/Services/ |
H A D | IndividualFactsService.php | 750 …if ($sosa === 1 && Date::compare($fact->date(), $min_date) < 0 || $this->includeFact($fact, $min_d… 836 …return $fact_date->isOK() && Date::compare($min_date, $fact_date) <= 0 && Date::compare($fact_date…
|
/webtrees/app/ |
H A D | Relationship.php | 406 return Date::compare($date1, $date2) > 0; 533 return Date::compare($date1, $date2) < 0;
|
H A D | Soundex.php | 620 public static function compare(string $soundex1, string $soundex2): bool function in Fisharebest\\Webtrees\\Soundex
|
H A D | Individual.php | 61 …return static fn (Individual $x, Individual $y): int => Date::compare($x->getEstimatedBirthDate(),… 71 …return static fn (Individual $x, Individual $y): int => Date::compare($x->getEstimatedDeathDate(),…
|
H A D | Timestamp.php | 76 public function compare(TimestampInterface $timestamp): int function in Fisharebest\\Webtrees\\Timestamp
|
H A D | Family.php | 72 …return static fn (Family $x, Family $y): int => Date::compare($x->getMarriageDate(), $y->getMarria…
|
H A D | Date.php | 333 public static function compare(Date $a, Date $b): int function in Fisharebest\\Webtrees\\Date
|
H A D | I18N.php | 552 return static fn (string $x, string $y): int => (int) $collator->compare($x, $y);
|
H A D | Fact.php | 614 $ret = Date::compare($a->date(), $b->date());
|
/webtrees/app/Date/ |
H A D | AbstractCalendarDate.php | 324 public static function compare(AbstractCalendarDate $d1, AbstractCalendarDate $d2): int function in Fisharebest\\Webtrees\\Date\\AbstractCalendarDate 355 if (self::compare($this, $date) === 0) {
|
/webtrees/app/Contracts/ |
H A D | TimestampInterface.php | 68 public function compare(TimestampInterface $timestamp): int; function
|
/webtrees/app/Report/ |
H A D | ReportParserGenerate.php | 2212 $keep = (Date::compare($date1, $date2) >= 0); 2221 $keep = (Date::compare($date1, $date2) <= 0);
|
/webtrees/ |
H A D | composer.lock | 2514 "ext-intl": "to use Strings::webalize(), toAscii(), normalize() and compare()", 6729 "description": "Provides the functionality to compare PHP values for equality", 6733 "compare",
|
H A D | phpstan-baseline.neon | 7150 …message: '#^Parameter \#1 \$a of static method Fisharebest\\Webtrees\\Date\:\:compare\(\) expects … 7156 …message: '#^Parameter \#2 \$b of static method Fisharebest\\Webtrees\\Date\:\:compare\(\) expects …
|