Package org.aoju.bus.office
Class Builder
java.lang.Object
org.aoju.bus.office.Builder
为office提供辅助功能.
- Since:
- Java 17+
- Author:
- Kimi Liu
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanisDateFormat(int formatIndex, String formatString) 判断日期格式static booleanisDateFormat(org.apache.poi.ss.usermodel.Cell cell) 是否日期格式static booleanisDateFormat(org.apache.poi.ss.usermodel.Cell cell, org.apache.poi.ss.formula.ConditionalFormattingEvaluator cfEvaluator) 判断是否日期格式static booleanisDateFormat(org.apache.poi.ss.usermodel.ExcelNumberFormat numFmt) 判断是否日期格式
-
Field Details
-
NO_POI_ERROR_MSG
没有引入POI的错误消息- See Also:
-
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
isDateFormat
public static boolean isDateFormat(org.apache.poi.ss.usermodel.Cell cell) 是否日期格式- Parameters:
cell- 单元格- Returns:
- 是否日期格式
-
isDateFormat
public static boolean isDateFormat(org.apache.poi.ss.usermodel.Cell cell, org.apache.poi.ss.formula.ConditionalFormattingEvaluator cfEvaluator) 判断是否日期格式- Parameters:
cell- 单元格cfEvaluator-ConditionalFormattingEvaluator- Returns:
- 是否日期格式
-
isDateFormat
public static boolean isDateFormat(org.apache.poi.ss.usermodel.ExcelNumberFormat numFmt) 判断是否日期格式- Parameters:
numFmt-ExcelNumberFormat- Returns:
- 是否日期格式
-
isDateFormat
判断日期格式- Parameters:
formatIndex- 格式索引,一般用于内建格式formatString- 格式字符串- Returns:
- 是否为日期格式
-