Lines Matching refs:year2
678 * @param int $year2
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]);
702 * @param int $year2
706 public function statsBirthBySexQuery(int $year1 = -1, int $year2 = -1): Builder argument
708 return $this->statsBirthQuery($year1, $year2)
736 * @param int $year2
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]);
760 * @param int $year2
764 public function statsDeathBySexQuery(int $year1 = -1, int $year2 = -1): Builder argument
766 return $this->statsDeathQuery($year1, $year2)
796 * @param int $year2
800 …tsAgeQuery(string $related = 'BIRT', string $sex = 'BOTH', int $year1 = -1, int $year2 = -1): array argument
804 if ($year1 >= 0 && $year2 >= 0) {
810 $query->whereBetween('birth.d_year', [$year1, $year2]);
812 $query->whereBetween('death.d_year', [$year1, $year2]);