public class XlsxDateTimeParsingMode
extends java.lang.Object
Examples:
Shows how to specify autodetection of the date time format.
Document doc = new Document(getMyDir() + "Xlsx DateTime.docx");
XlsxSaveOptions saveOptions = new XlsxSaveOptions();
// Specify using datetime format autodetection.
saveOptions.setDateTimeParsingMode(XlsxDateTimeParsingMode.AUTO);
doc.save(getArtifactsDir() + "XlsxSaveOptions.DateTimeParsingMode.xlsx", saveOptions);
| Modifier and Type | Field and Description |
|---|---|
static int |
AUTO
The datetime format used in a document is determined automatically.
|
static int |
length |
static int |
USE_CURRENT_LOCALE
The datetime format set for the current thread is used first to parse string values.
|
| Modifier and Type | Method and Description |
|---|---|
static int |
fromName(java.lang.String xlsxDateTimeParsingModeName) |
static java.lang.String |
getName(int xlsxDateTimeParsingMode) |
static int[] |
getValues() |
static java.lang.String |
toString(int xlsxDateTimeParsingMode) |
public static int USE_CURRENT_LOCALE
public static int AUTO
public static int length