XMLGregorianCalendar.Compare(XMLGregorianCalendar) 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.
Compare two instances of W3C XML Schema 1.
[Android.Runtime.Register("compare", "(Ljavax/xml/datatype/XMLGregorianCalendar;)I", "GetCompare_Ljavax_xml_datatype_XMLGregorianCalendar_Handler")]
public abstract int Compare (Javax.Xml.Datatype.XMLGregorianCalendar? xmlGregorianCalendar);
[<Android.Runtime.Register("compare", "(Ljavax/xml/datatype/XMLGregorianCalendar;)I", "GetCompare_Ljavax_xml_datatype_XMLGregorianCalendar_Handler")>]
abstract member Compare : Javax.Xml.Datatype.XMLGregorianCalendar -> int
Parameters
- xmlGregorianCalendar
- XMLGregorianCalendar
Instance of XMLGregorianCalendar
to compare
Returns
The relationship between this
XMLGregorianCalendar
and
the specified xmlGregorianCalendar
as
DatatypeConstants#LESSER
,
DatatypeConstants#EQUAL
,
DatatypeConstants#GREATER
or
DatatypeConstants#INDETERMINATE
.
- Attributes
Exceptions
if xmlGregorianCalendar
is null.
Remarks
Compare two instances of W3C XML Schema 1.0 date/time datatypes according to partial order relation defined in W3C XML Schema 1.0 Part 2, Section 3.2.7.3, Order relation on dateTime.
xsd:dateTime
datatype field mapping to accessors of this class are defined in date/time field mapping table.
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.