Liquid XML Data Binder 2019
Java compareTo - DateTime
Liquid XML Data Binder (C++, Java, VB6) > Reference > Java > Reference > com.liquid_technologies.ltxmllib17 > DateTime > Java compareTo - DateTime

public CompareResult compareTo(DateTime dateTime)

  Property Description  
    Argument - dateTime The DateTime to compare with this object  
public final class CompareResult implements Serializable 
public static CompareResult equal = new CompareResult(EQUAL);
public static CompareResult lessThan = new CompareResult(LESS_THAN);
public static CompareResult greaterThan = new CompareResult(GREATER_THAN);
public static CompareResult indeterminate = new CompareResult(INDETERMINATE);
    Description Compares this DateTime with another  
    Remarks Similar to java.lang.Comparable#compareTo(Object), except the result may be Indeterminate depending on the current state as according to the rules of the W3C XML Schema specification.