SdtDateStorageFormat

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

ValueDescription
DATEThe date value for a date SDT is stored as a date in the standard XML Schema Date format.
DATE_TIMEThe date value for a date SDT is stored as a date in the standard XML Schema DateTime format.
TEXTThe date value for a date SDT is stored as text.
DEFAULTDefaults to DATE_TIME

Properties

NameTypeAccessDescription
valuesint[]ReadReturns array of SdtDateStorageFormat values.

Methods

SignatureDescription
getName(sdtDateStorageFormat: int) → StringReturns JAVA_STYLE string representation of integer SdtDateStorageFormat value.
toString(sdtDateStorageFormat: int) → StringReturns DotNetStyle string representation of integer SdtDateStorageFormat value.
fromName(sdtDateStorageFormatName: String) → intReturns integer representation by SdtDateStorageFormat name.
getValues() → int[]Returns array of SdtDateStorageFormat values.

See Also