static java.sql.Time parseSqlTime(final String value) {
        try {
            // JDK format in Time.valueOf is compatible with DATE_FORMAT
            return Time.valueOf(value);
        } catch (IllegalArgumentException e) {
            return throwRuntimeParseException(value, new ParseException(value, 0), SQL_TIME_FORMAT);
        }
    }
@Test
    public void testTimeWithLeadingZeros() throws Exception {
        // Given
        Time expectedTime = new Time(
                new SimpleDateFormat(SQL_TIME_FORMAT)
                        .parse("01:02:03")
                        .getTime()
        );

        // When
        Time actualTime = DateHelper.parseSqlTime(expectedTime.toString());

        // Then
        assertSqlTimesEqual(expectedTime, actualTime);
    }