SdtDateStorageFormat

Inheritance: java.lang.Object

public class SdtDateStorageFormat

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.

Fields

FieldDescription
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.
DEFAULTDefaults to DATE_TIME
TEXTThe date value for a date SDT is stored as text.
length

Methods

MethodDescription
fromName(String sdtDateStorageFormatName)
getName(int sdtDateStorageFormat)
getValues()
toString(int sdtDateStorageFormat)

DATE

public static int DATE

The date value for a date SDT is stored as a date in the standard XML Schema Date format.

DATE_TIME

public static int DATE_TIME

The date value for a date SDT is stored as a date in the standard XML Schema DateTime format.

DEFAULT

public static int DEFAULT

Defaults to DATE_TIME

TEXT

public static int TEXT

The date value for a date SDT is stored as text.

length

public static int length

fromName(String sdtDateStorageFormatName)

public static int fromName(String sdtDateStorageFormatName)

Parameters:

ParameterTypeDescription
sdtDateStorageFormatNamejava.lang.String

Returns: int

getName(int sdtDateStorageFormat)

public static String getName(int sdtDateStorageFormat)

Parameters:

ParameterTypeDescription
sdtDateStorageFormatint

Returns: java.lang.String

getValues()

public static int[] getValues()

Returns: int[]

toString(int sdtDateStorageFormat)

public static String toString(int sdtDateStorageFormat)

Parameters:

ParameterTypeDescription
sdtDateStorageFormatint

Returns: java.lang.String