CompareTo()
Contents
[
Hide
]DateTimeOffset::CompareTo(const DateTimeOffset&) const method
Compares two DateTimeOffset objects.
int System::DateTimeOffset::CompareTo(const DateTimeOffset &other) const
Arguments
| Parameter | Type | Description | 
|---|---|---|
| other | const DateTimeOffset& | Object to compare. | 
Return Value
-1 - if current object is earlier than other, 1 - if current object is later than other, 0 - if current object is equal to other.
DateTimeOffset::CompareTo(const SharedPtr<Object>&) const method
Compares two DateTimeOffset objects.
int System::DateTimeOffset::CompareTo(const SharedPtr<Object> &obj) const
Arguments
| Parameter | Type | Description | 
|---|---|---|
| obj | const SharedPtr<Object>& | Object to compare. | 
Return Value
-1 - if current object is earlier than obj, 1 - if current object is later than obj, 0 - if current object is equal to obj.
See Also
- Typedef SharedPtr
 - Class DateTimeOffset
 - Class Object
 - Namespace System
 - Library Aspose.Slides