Home
last modified time | relevance | path

Searched refs:compare (Results 1 – 25 of 27) sorted by relevance

12

/webtrees/resources/views/
H A Dfact-date.phtml80 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 DCensusColumnChildrenDied.php48 Date::compare($child->getBirthDate(), $this->date()) < 0 &&
51 Date::compare($child->getDeathDate(), $this->date()) < 0)
H A DCensusColumnChildrenLiving.php51 $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 DCensusColumnNationality.php58 if (Date::compare($fact->date(), $this->date()) <= 0) {
H A DCensusColumnChildrenBornAlive.php48 Date::compare($child->getBirthDate(), $this->date()) < 0 &&
H A DCensusColumnYearsMarried.php46 if ($fact->date()->isOK() && Date::compare($fact->date(), $this->date()) <= 0) {
H A DAbstractCensusColumnCondition.php168 …return $individual->getDeathDate()->isOK() && Date::compare($individual->getDeathDate(), $this->da…
H A DAbstractCensusColumn.php100 …->filter(fn (Family $family): bool => Date::compare($family->getMarriageDate(), $this->date()) <= …
/webtrees/app/Module/
H A DModuleHistoricEventsTrait.php53 ->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 DBranchesListModule.php461 … 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 DTimestampTest.php129 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 DIndividualFactsService.php750 …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 DRelationship.php406 return Date::compare($date1, $date2) > 0;
533 return Date::compare($date1, $date2) < 0;
H A DSoundex.php620 public static function compare(string $soundex1, string $soundex2): bool function in Fisharebest\\Webtrees\\Soundex
H A DIndividual.php61 …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 DTimestamp.php76 public function compare(TimestampInterface $timestamp): int function in Fisharebest\\Webtrees\\Timestamp
H A DFamily.php72 …return static fn (Family $x, Family $y): int => Date::compare($x->getMarriageDate(), $y->getMarria…
H A DDate.php333 public static function compare(Date $a, Date $b): int function in Fisharebest\\Webtrees\\Date
H A DI18N.php552 return static fn (string $x, string $y): int => (int) $collator->compare($x, $y);
H A DFact.php614 $ret = Date::compare($a->date(), $b->date());
/webtrees/app/Date/
H A DAbstractCalendarDate.php324 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 DTimestampInterface.php68 public function compare(TimestampInterface $timestamp): int; function
/webtrees/app/Report/
H A DReportParserGenerate.php2212 $keep = (Date::compare($date1, $date2) >= 0);
2221 $keep = (Date::compare($date1, $date2) <= 0);
/webtrees/
H A Dcomposer.lock2514 "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 Dphpstan-baseline.neon7150 …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 …

12