System::DateTimeOffset::Equals method

DateTimeOffset::Equals(const DateTimeOffset&) const method

Checks if two DateTimeOffset objects represents the same time point.

bool System::DateTimeOffset::Equals(const DateTimeOffset &other) const
ParameterTypeDescription
otherconst DateTimeOffset&Object to compare.

ReturnValue

true if current object is equal to other, otherwise - false.

See Also

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

Checks if two DateTimeOffset objects represents the same time point.

bool System::DateTimeOffset::Equals(const SharedPtr<Object> &obj) const
ParameterTypeDescription
objconst SharedPtr<Object>&Object to compare.

ReturnValue

true if current object is equal to obj, otherwise - false.

See Also

DateTimeOffset::Equals(const DateTimeOffset&, const DateTimeOffset&) method

Checks if two DateTimeOffset objects represent the same time point.

static bool System::DateTimeOffset::Equals(const DateTimeOffset &first, const DateTimeOffset &second)
ParameterTypeDescription
firstconst DateTimeOffset&First object to compare.
secondconst DateTimeOffset&Second object to compare.

ReturnValue

true if first is equal to second, otherwise - false.

See Also