public String toString() {switch (getCellTypeEnum()) {case BLANK:return "";case BOOLEAN:return getBooleanCellValue()?"TRUE":"FALSE";case ERROR:return ErrorEval.getText((( BoolErrRecord ) _record).getErrorValue());case FORMULA:return getCellFormula();case NUMERIC:if (DateUtil.isCellDateFormatted(this)) {SimpleDateFormat sdf = new SimpleDateFormat("dd-MMM-yyyy", LocaleUtil.getUserLocale());sdf.setTimeZone(LocaleUtil.getUserTimeZone());return sdf.format(getDateCellValue());}return  String.valueOf(getNumericCellValue());case STRING:return getStringCellValue();default:return "Unknown Cell Type: " + getCellType();}}
public override String ToString(){switch (CellType){case CellType.Blank:return "";case CellType.Boolean:return BooleanCellValue ? "TRUE" : "FALSE";case CellType.Error:return NPOI.SS.Formula.Eval.ErrorEval.GetText(((BoolErrRecord)_record).ErrorValue);case CellType.Formula:return CellFormula;case CellType.Numeric:string format = this.CellStyle.GetDataFormatString();DataFormatter formatter = new DataFormatter();return formatter.FormatCellValue(this);case CellType.String:return StringCellValue;default:return "Unknown Cell Type: " + CellType;}}