导出Excel单元格式设置
摘要:
转自http://javacrazyer.iteye.com/blog/894850日期格式 cell.setCellValue(new Date()); HSSFCellStyle cellStyle = demoWorkBook.createCellStyle(); HSSFDataFormat format= demoWorkBook.createDataFormat(); cellStyle.setDataFormat(format.getFormat("yyyy年m月d日")); cell.setCellStyle(cellStyle);保留... 阅读全文
posted @ 2013-08-19 11:45 yuan的程序员之路 阅读(262) 评论(0) 推荐(0)
浙公网安备 33010602011771号