fix(cat): age map
All checks were successful
Deploy Production Server / if_merged (pull_request) Successful in 6m55s

This commit is contained in:
2025-03-17 11:12:38 +01:00
parent 7497cc399c
commit e18ed652f0
3 changed files with 21 additions and 20 deletions

View File

@@ -48,19 +48,19 @@ public class Utils {
int birthYear = toCalendar(birth_date).get(Calendar.YEAR);
int diff = currentSaison - birthYear;
if (diff < 7) {
if (diff < 6) {
return Categorie.SUPER_MINI;
} else if (diff < 9) {
} else if (diff < 8) {
return Categorie.MINI_POUSSIN;
} else if (diff < 11) {
} else if (diff < 10) {
return Categorie.POUSSIN;
} else if (diff < 13) {
} else if (diff < 12) {
return Categorie.BENJAMIN;
} else if (diff < 15) {
} else if (diff < 14) {
return Categorie.MINIME;
} else if (diff < 17) {
} else if (diff < 16) {
return Categorie.CADET;
} else if (diff < 19) {
} else if (diff < 18) {
return Categorie.JUNIOR;
} else if (diff < 25) {
return Categorie.SENIOR1;