public static boolean isCellInternalDateFormatted(Cell cell) {if (cell == null) {return false;}boolean bDate = false;double d = cell.getNumericCellValue();if ( DateUtil.isValidExcelDate(d) ) {CellStyle style = cell.getCellStyle();int i = style.getDataFormat();bDate = isInternalDateFormat(i);}return bDate;}
public static bool IsCellInternalDateFormatted(ICell cell){if (cell == null) return false;bool bDate = false;double d = cell.NumericCellValue;if (DateUtil.IsValidExcelDate(d)){ICellStyle style = cell.CellStyle;int i = style.DataFormat;bDate = IsInternalDateFormat(i);}return bDate;}