static Date convertDate ( String date ) throws ParseException { final int zIndex = date . indexOf ( ' ' ) ; if ( zIndex - 3 < 0 ) { throw new ParseException ( date + " doesn't match the expected subversion date format" , date . length ( ) ) ; } String withoutMicroSeconds = date . substring ( 0 , zIndex - 3 ) ; return getOutDateFormatter ( ) . parse ( withoutMicroSeconds ) ; }
Converts the specified SVN date string into a Date .