| | |
| | | { |
| | | if (val instanceof String) |
| | | { |
| | | System.out.println("====++++++++"); |
| | | System.out.println(val); |
| | | if(((String) val).contains("/")) |
| | | val = ((String) val).replace("/","-"); |
| | | System.out.println(val); |
| | | val = DateUtils.parseDate(val); |
| | | } |
| | | else if (val instanceof Double) |
| | |
| | | for (int i = row.getFirstCellNum(); i < row.getLastCellNum(); i++) |
| | | { |
| | | Cell cell = row.getCell(i); |
| | | if (cell != null && cell.getCellType() != CellType.BLANK) |
| | | // System.out.println("11111111111111:/"+(cell != null)+"\n2222222222:/"+cell+"\n333333:/"+String.valueOf(cell).length()); |
| | | if (cell != null && cell.getCellType() != CellType.BLANK && !cell.toString().equals("")) |
| | | { |
| | | // System.out.println("444444+/"+(cell.getCellType())); |
| | | return false; |
| | | } |
| | | } |