System::TimeSpan::CompareTo method
Contents
[
Hide
]TimeSpan::CompareTo(const SharedPtr<Object>&) const method
Compares current and the specified objects.
int System::TimeSpan::CompareTo(const SharedPtr<Object> &obj) const
Parameter | Type | Description |
---|---|---|
obj | const SharedPtr<Object>& | The TimeSpan object to compare the current object with |
ReturnValue
-1 if the current object represents the interval that is shorter than value; 0 if the current object represents the interval that is equal to value; 1 if the current object represents the interval that is longer than value
See Also
- Typedef SharedPtr
- Class Object
- Class TimeSpan
- Namespace System
- Library Aspose.PUB for C++
TimeSpan::CompareTo(TimeSpan) const method
Compares current and the specified objects.
int System::TimeSpan::CompareTo(TimeSpan value) const
Parameter | Type | Description |
---|---|---|
value | TimeSpan | The TimeSpan object to compare the current object with |
ReturnValue
-1 if the current object represents the interval that is shorter than value; 0 if the current object represents the interval that is equal to value; 1 if the current object represents the interval that is longer than value
See Also
- Class TimeSpan
- Class TimeSpan
- Namespace System
- Library Aspose.PUB for C++