EqualsExact()

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

Arguments

ParameterTypeDescription
otherconst DateTimeOffset&Object to compare.

Return Value

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

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

Arguments

ParameterTypeDescription
objconst SharedPtr<Object>&Object to compare.

Return Value

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

See Also