Метод System::DateTimeOffset::CompareTo
Содержание
[
Скрывать
]DateTimeOffset::CompareTo(const DateTimeOffset&) const method
Сравнивает два объекта DateTimeOffset.
int System::DateTimeOffset::CompareTo(const DateTimeOffset &other) const
| Параметр | Тип | Описание |
|---|---|---|
| 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.Font for C++
DateTimeOffset::CompareTo(const SharedPtr<Object>&) const method
Сравнивает два объекта DateTimeOffset.
int System::DateTimeOffset::CompareTo(const SharedPtr<Object> &obj) const
| Параметр | Тип | Описание |
|---|---|---|
| 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.Font for C++