Liquid XML Data Binder (C++, Java, VB6) / Reference / Java / Reference / com.liquid_technologies.ltxmllib20 / DateTime / Java compareTo - DateTime
In This Topic
    Java compareTo - DateTime
    In This Topic

    public CompareResult compareTo(DateTime dateTime)

      Property Description  
        Argument - dateTime The DateTime to compare with this object  
        Returns
    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.