public class ExcelDateUtil extends Object
| Constructor and Description |
|---|
ExcelDateUtil() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isDateFormat(org.apache.poi.ss.usermodel.Cell cell)
是否日期格式
|
static boolean |
isDateFormat(org.apache.poi.ss.usermodel.Cell cell,
org.apache.poi.ss.formula.ConditionalFormattingEvaluator cfEvaluator)
判断是否日期格式
|
static boolean |
isDateFormat(org.apache.poi.ss.usermodel.ExcelNumberFormat numFmt)
判断是否日期格式
|
static boolean |
isDateFormat(int formatIndex,
String formatString)
判断日期格式
|
public static boolean isDateFormat(org.apache.poi.ss.usermodel.Cell cell)
cell - 单元格public static boolean isDateFormat(org.apache.poi.ss.usermodel.Cell cell,
org.apache.poi.ss.formula.ConditionalFormattingEvaluator cfEvaluator)
cell - 单元格cfEvaluator - ConditionalFormattingEvaluatorpublic static boolean isDateFormat(org.apache.poi.ss.usermodel.ExcelNumberFormat numFmt)
numFmt - ExcelNumberFormatpublic static boolean isDateFormat(int formatIndex,
String formatString)
formatIndex - 格式索引,一般用于内建格式formatString - 格式字符串Copyright © 2025. All rights reserved.