Liquid XML Data Binder (C++, Java, VB6) / Reference / C++ / Reference / CDateTimeSpan / C++ CompareTo
In This Topic
    C++ CompareTo
    In This Topic
    CDateTime::DTCompareResult CompareTo(const CDateTimeSpan& dateTimeSpan) const;
      Property Description  
        Argument dateTimeSpan The CDateTimeSpan to compare with this object  
        Returns
    enum DTCompareResult
    {
            dt_equal = 0,
            dt_lessThan,
            dt_greaterThan,
            dt_indeterminate
    };
                                            
    
     
        Description Compares this CDateTimeSpan 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.