includes/org/apache/poi/ss/usermodel/DateUtil.java
public static boolean isCellDateFormatted(Cell cell) {
        if (cell == null) return false;
        boolean bDate = false;

        double d = cell.getNumericCellValue();
        if ( DateUtil.isValidExcelDate(d) ) {
            CellStyle style = cell.getCellStyle();
            if(style==null) return false;
            int i = style.getDataFormat();
            String f = style.getDataFormatString();
            bDate = isADateFormat(i, f);
        }
        return bDate;
    }
/**
     *  Check if a cell contains a date
     *  Since dates are stored internally in Excel as double values
     *  we infer it is a date if it is formatted as such.
     *  @see #isADateFormat(int, String)
     *  @see #isInternalDateFormat(int)
     */
Check if a cell contains a date
Since dates are stored internally in Excel as double values
we infer it is a date if it is formatted as such.
Check if a cell contains a date Since dates are stored internally in Excel as double values we infer it is a date if it is formatted as such .
public static boolean isCellDateFormatted(Cell cell) {
        if (cell == null) return false;
        boolean bDate = false;
        double d = cell.getNumericCellValue();
        if ( DateUtil.isValidExcelDate(d) ) {
            CellStyle style = cell.getCellStyle();
            if(style==null) return false;
            int i = style.getDataFormat();
            String f = style.getDataFormatString();
            bDate = isADateFormat(i, f);
        }
        return bDate;
    }
public static boolean isCellDateFormatted ( Cell cell ) { if ( cell == null ) return false ; boolean bDate = false ; double d = cell . getNumericCellValue ( ) ; if ( DateUtil . isValidExcelDate ( d ) ) { CellStyle style = cell . getCellStyle ( ) ; if ( style == null ) return false ; int i = style . getDataFormat ( ) ; String f = style . getDataFormatString ( ) ; bDate = isADateFormat ( i , f ) ; } return bDate ; }
Check if a cell contains a date
  Since dates are stored internally in Excel as double values
  we infer it is a date if it is formatted as such.
Check if a cell contains a date Since dates are stored internally in Excel as double values we infer it is a date if it is formatted as such .