if (month == 0 || day == 0) { return null; }
    public Object sqlToJava(Object object) {        if (object != null && object instanceof String) {            final String string = (String) object;            int year = Integer.parseInt(string.substring(0, 4));            int month = Integer.parseInt(string.substring(5, 7));            int day = Integer.parseInt(string.substring(8, 10));//            if (year == 0 || month == 0 || day == 0) {//                return null;//            }            return new YearMonthDay(year, month, day);        }        return object;    }