in api/src/main/java/org/apache/fineract/cn/portfolio/api/v1/validation/CheckValidWeek.java [35:38]
public boolean isValid(final Integer value, final ConstraintValidatorContext context) {
//TODO: remove allowance for 3 and 4 once UI is fixed to also not allow them.
return value == null || value == 0 || value == 1 || value == 2 || value == 3 || value == 4 || value == -1;
}