public static void pastOrPresent(@Nullable Date date, String name) {
        if (date != null && date.getTime() > System.currentTimeMillis()) {
            throw ResponseException.get(ResponseStatusCode.ILLEGAL_ARGUMENT,
                    ("\""
                            + name
                            + "\" must be a date in the past or in the present").intern());
        }
    }
@param min if -1, it means the string cannot be null
turms-server-common/src/main/java/im/turms/server/common/infra/validation/Validator.java