static java.sql.Date parseSqlDate(final String value) {
        try {
            // JDK format in Date.valueOf is compatible with DATE_FORMAT
            return java.sql.Date.valueOf(value);
        } catch (IllegalArgumentException e) {
            return throwRuntimeParseException(value, new ParseException(value, 0), SQL_DATE_FORMAT);
        }
    }
@Test
    public void testSqlDateWithTrailingZerosInMonthAndDay() throws Exception {
        // Given
        long expectedDateInMillis = new SimpleDateFormat(SQL_DATE_FORMAT)
                .parse("2000-10-20")
                .getTime();
        java.sql.Date expectedDate = new java.sql.Date(expectedDateInMillis);

        // When
        java.sql.Date actualDate = DateHelper.parseSqlDate(expectedDate.toString());

        // Then
        assertSqlDatesEqual(expectedDate, actualDate);
    }