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++