Μέθοδος System::DateTimeOffset::CompareTo
περιεχόμενα
[
κρύβω
]DateTimeOffset::CompareTo(const DateTimeOffset&) const method
Συγκρίνει δύο αντικείμενα DateTimeOffset.
int System::DateTimeOffset::CompareTo(const DateTimeOffset &other) const
| Parameter | Type | Περιγραφή |
|---|---|---|
| other | const DateTimeOffset& | Object για σύγκριση. |
ReturnValue
-1 - if current object is earlier than other, 1 - if current object is later than other, 0 - if current object is equal to other.
Δείτε επίσης
- Class DateTimeOffset
- Class DateTimeOffset
- Namespace System
- Library Aspose.Page for C++
DateTimeOffset::CompareTo(const SharedPtr<Object>&) const method
Συγκρίνει δύο αντικείμενα DateTimeOffset.
int System::DateTimeOffset::CompareTo(const SharedPtr<Object> &obj) const
| Parameter | Type | Περιγραφή |
|---|---|---|
| obj | const SharedPtr<Object>& | Object για σύγκριση. |
ReturnValue
-1 - if current object is earlier than obj, 1 - if current object is later than obj, 0 - if current object is equal to obj.
Δείτε επίσης
- Typedef SharedPtr
- Class Object
- Class DateTimeOffset
- Namespace System
- Library Aspose.Page for C++