System::DateTimeOffset::CompareTo méthode

DateTimeOffset::CompareTo(const DateTimeOffset&) const method

Compare deux objets DateTimeOffset.

int System::DateTimeOffset::CompareTo(const DateTimeOffset &other) const
ParamètreTypeDescription
otherconst DateTimeOffset&Object à comparer.

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.

Voir aussi

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

Compare deux objets DateTimeOffset.

int System::DateTimeOffset::CompareTo(const SharedPtr<Object> &obj) const
ParamètreTypeDescription
objconst SharedPtr<Object>&Object à comparer.

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.

Voir aussi