XMLGregorianCalendar.ToXMLFormat Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Return the lexical representation of this
instance.
[Android.Runtime.Register("toXMLFormat", "()Ljava/lang/String;", "GetToXMLFormatHandler")]
public abstract string? ToXMLFormat ();
[<Android.Runtime.Register("toXMLFormat", "()Ljava/lang/String;", "GetToXMLFormatHandler")>]
abstract member ToXMLFormat : unit -> string
Returns
XML, as String
, representation of this XMLGregorianCalendar
- Attributes
Exceptions
if the combination of set fields does not match one of the eight defined XML Schema builtin date/time datatypes.
Remarks
Return the lexical representation of this
instance. The format is specified in XML Schema 1.0 Part 2, Section 3.2.[7-14].1, Lexical Representation".
Specific target lexical representation format is determined by #getXMLSchemaType()
.
Java documentation for javax.xml.datatype.XMLGregorianCalendar.toXMLFormat()
.
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.