Lines Matching refs:year2
285 * @param int $year2
289 public function chartNoChildrenFamilies(int $year1 = -1, int $year2 = -1): string argument
294 ->chartNoChildrenFamilies($no_child_fam, $year1, $year2);
553 * @param int $year2
557 public function statsChildrenQuery(int $year1 = -1, int $year2 = -1): array argument
564 if ($year1 >= 0 && $year2 >= 0) {
573 ->whereBetween('d_year', [$year1, $year2]);
695 * @param int $year2
699 public function monthFirstChildQuery(int $year1 = -1, int $year2 = -1): Builder argument
730 if ($year1 >= 0 && $year2 >= 0) {
731 $query->whereBetween('d_year', [$year1, $year2]);
741 * @param int $year2
745 public function monthFirstChildBySexQuery(int $year1 = -1, int $year2 = -1): Builder argument
747 return $this->monthFirstChildQuery($year1, $year2)
1386 * @param int $year2
1390 public function statsMarrAgeQuery(string $sex, int $year1 = -1, int $year2 = -1): array argument
1412 if ($year1 >= 0 && $year2 >= 0) {
1413 $query->whereBetween('married.d_year', [$year1, $year2]);
1655 * @param int $year2
1659 public function statsMarriageQuery(int $year1 = -1, int $year2 = -1): Builder argument
1667 if ($year1 >= 0 && $year2 >= 0) {
1668 $query->whereBetween('d_year', [$year1, $year2]);
1678 * @param int $year2
1682 public function statsFirstMarriageQuery(int $year1 = -1, int $year2 = -1): Builder argument
1695 if ($year1 >= 0 && $year2 >= 0) {
1696 $query->whereBetween('d_year', [$year1, $year2]);