SdtDateStorageFormat
Overview
SdtDateStorageFormat is an enum in Aspose.Words FOSS for Java.
Specifies how the date for a date SDT is stored/retrieved when the SDT is bound to an XML node in the document’s data store.
Edition status of its 9 listed members (a property and its accessor methods are listed separately, overloads once): 9 not yet exercised by a verified example.
This enum declares 4 methods for SdtDateStorageFormat objects in Java programs.
Available methods include: fromName, getName, getValues, toString.
Public members are accessible to any Java application after installing the Aspose.Words FOSS for Java package.
Properties: values.
Values
| Value | Description |
|---|---|
DATE | The date value for a date SDT is stored as a date in the standard XML Schema Date format. |
DATE_TIME | The date value for a date SDT is stored as a date in the standard XML Schema DateTime format. |
TEXT | The date value for a date SDT is stored as text. |
DEFAULT | Defaults to DATE_TIME |
Properties
| Name | Type | Access | Description |
|---|---|---|---|
values | int[] | Read | Returns array of SdtDateStorageFormat values. |
Methods
| Signature | Description |
|---|---|
getName(sdtDateStorageFormat: int) → String | Returns JAVA_STYLE string representation of integer SdtDateStorageFormat value. |
toString(sdtDateStorageFormat: int) → String | Returns DotNetStyle string representation of integer SdtDateStorageFormat value. |
fromName(sdtDateStorageFormatName: String) → int | Returns integer representation by SdtDateStorageFormat name. |
getValues() → int[] | Returns array of SdtDateStorageFormat values. |