System::DateTimeOffset::CompareTo メソッド

DateTimeOffset::CompareTo(const DateTimeOffset&) const method

2 つの DateTimeOffset オブジェクトを比較します。

int System::DateTimeOffset::CompareTo(const DateTimeOffset &other) const
パラメーター説明
otherconst 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.

参照

DateTimeOffset::CompareTo(const SharedPtr<Object>&) const method

2 つの DateTimeOffset オブジェクトを比較します。

int System::DateTimeOffset::CompareTo(const SharedPtr<Object> &obj) const
パラメーター説明
objconst 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.

参照