Duration.XMLSchemaType Property

Definition

Return the name of the XML Schema date/time type that this instance maps to.

public virtual Javax.Xml.Namespace.QName? XMLSchemaType { [Android.Runtime.Register("getXMLSchemaType", "()Ljavax/xml/namespace/QName;", "GetGetXMLSchemaTypeHandler")] get; }
[<get: Android.Runtime.Register("getXMLSchemaType", "()Ljavax/xml/namespace/QName;", "GetGetXMLSchemaTypeHandler")>]
member this.XMLSchemaType : Javax.Xml.Namespace.QName

Property Value

QName

one of the following constants: DatatypeConstants#DURATION, DatatypeConstants#DURATION_DAYTIME or DatatypeConstants#DURATION_YEARMONTH.

Attributes

Exceptions

If the combination of set fields does not match one of the XML Schema date/time datatypes.

Remarks

Java documentation for javax.xml.datatype.Duration.getXMLSchemaType().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to