@Override
    public List<ValidateException> validate(String parameter) {
        List<ValidateException> validateExceptionList = new LinkedList<>();

        SimpleDateFormat simpleDateFormat = new SimpleDateFormat("dd.MM.yyyy");
        simpleDateFormat.setLenient(false);

        try {
            simpleDateFormat.parse(parameter);
        } catch (ParseException e) {
            String exMsg = "entered wrong date of birth";
            validateExceptionList.add(new ValidateException(String.format("You %s!", exMsg)));
            logger.warn("User {} - {}.", exMsg, parameter);
        }

        return validateExceptionList;
    }