System::DateTimeOffset::EqualsExact method

DateTimeOffset::EqualsExact(const DateTimeOffset&) const method

Checks if two DateTimeOffset objects represents the same time point and has the same offset.

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

ReturnValue

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

See Also

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

Checks if two DateTimeOffset objects represents the same time point and has the same offset.

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

ReturnValue

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

See Also