public class ExcelDateUtil
extends java.lang.Object
Description: Excel时间
Title:聚天业务架构平台(SHGather)
构造器和说明 |
---|
ExcelDateUtil() |
限定符和类型 | 方法和说明 |
---|---|
static boolean |
isADateFormat(int formatIndex,
java.lang.String formatString)
Given a format ID and its format String, will check to see if the
format represents a date format or not.
|
static boolean |
isCellDateFormatted(org.apache.poi.ss.usermodel.Cell cell) |
static boolean |
isInternalDateFormat(int format) |
static boolean |
isValidExcelDate(double value)
Given a double, checks if it is a valid Excel date.
|
public static boolean isCellDateFormatted(org.apache.poi.ss.usermodel.Cell cell)
public static boolean isValidExcelDate(double value)
value
- the double valuepublic static boolean isADateFormat(int formatIndex, java.lang.String formatString)
formatIndex
- The index of the format, eg from ExtendedFormatRecord.getFormatIndexformatString
- The format string, eg from FormatRecord.getFormatStringisInternalDateFormat(int)
public static boolean isInternalDateFormat(int format)