Lines Matching refs:year1
677 * @param int $year1
682 public function statsBirthQuery(int $year1 = -1, int $year2 = -1): Builder argument
691 if ($year1 >= 0 && $year2 >= 0) {
692 $query->whereBetween('d_year', [$year1, $year2]);
701 * @param int $year1
706 public function statsBirthBySexQuery(int $year1 = -1, int $year2 = -1): Builder argument
708 return $this->statsBirthQuery($year1, $year2)
735 * @param int $year1
740 public function statsDeathQuery(int $year1 = -1, int $year2 = -1): Builder argument
749 if ($year1 >= 0 && $year2 >= 0) {
750 $query->whereBetween('d_year', [$year1, $year2]);
759 * @param int $year1
764 public function statsDeathBySexQuery(int $year1 = -1, int $year2 = -1): Builder argument
766 return $this->statsDeathQuery($year1, $year2)
795 * @param int $year1
800 …public function statsAgeQuery(string $related = 'BIRT', string $sex = 'BOTH', int $year1 = -1, int… argument
804 if ($year1 >= 0 && $year2 >= 0) {
810 $query->whereBetween('birth.d_year', [$year1, $year2]);
812 $query->whereBetween('death.d_year', [$year1, $year2]);