Object object = DateDetector.getDateFromStringByFormat( value, dateFormat ); cmm.incrementSuccesses(); if ( cmm.getMin() == null || cmm.getConversionMeta().compare( cmm.getMin(), object ) > 0 ) { cmm.setMin( object ); cmm.incrementSuccesses(); if ( cmm.getMin() == null || cmm.getConversionMeta().compare( cmm.getMin(), object ) > 0 ) { cmm.setMin( object );
minstr[i] = result.getMin() == null ? "" : result.getMin().toString(); maxstr[i] = result.getMax() == null ? "" : result.getMax().toString(); .getConversionMeta().getTrimType() ) ); message.append( BaseMessages.getString( PKG, "TextFileCSVImportProgressDialog.Info.NumberMinValue", seResult.getMin() ) ); message.append( BaseMessages.getString( PKG, "TextFileCSVImportProgressDialog.Info.NumberMaxValue", seResult.getMax() ) ); df2.applyPattern( mask ); df2.setDecimalFormatSymbols( dfs2 ); double mn = df2.parse( seResult.getMin().toString() ).doubleValue(); message.append( BaseMessages.getString( PKG, "TextFileCSVImportProgressDialog.Info.NumberExample", mask, seResult.getMin(), Double.toString( mn ) ) ); } catch ( Exception e ) { if ( log.isDetailed() ) { log.logDetailed( "This is unexpected: parsing [" + seResult.getMin() + "] with format [" + mask + "] did not work." );
minstr[i] = result.getMin() == null ? "" : result.getMin().toString(); maxstr[i] = result.getMax() == null ? "" : result.getMax().toString(); .getConversionMeta().getTrimType() ) ); message.append( BaseMessages.getString( PKG, "TextFileCSVImportProgressDialog.Info.NumberMinValue", seResult.getMin() ) ); message.append( BaseMessages.getString( PKG, "TextFileCSVImportProgressDialog.Info.NumberMaxValue", seResult.getMax() ) ); df2.applyPattern( mask ); df2.setDecimalFormatSymbols( dfs2 ); double mn = df2.parse( seResult.getMin().toString() ).doubleValue(); message.append( BaseMessages.getString( PKG, "TextFileCSVImportProgressDialog.Info.NumberExample", mask, seResult.getMin(), Double .toString( mn ) ) ); } catch ( Exception e ) { if ( log.isDetailed() ) { log.logDetailed( "This is unexpected: parsing [" + seResult.getMin() + "] with format [" + mask + "] did not work." );