Liquid XML Data Binder 2019
C++ CompareTo
Liquid XML Data Binder (C++, Java, VB6) > Reference > C++ > Reference > CDateTimeSpan > C++ CompareTo
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.