Equals()

DateTimeOffset::Equals(const DateTimeOffset&) const method

Checks if two DateTimeOffset objects represents the same time point.

bool System::DateTimeOffset::Equals(const DateTimeOffset &other) const

Arguments

ParameterTypeDescription
otherconst DateTimeOffset&Object to compare.

Return Value

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

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

Arguments

ParameterTypeDescription
objconst SharedPtr<Object>&Object to compare.

Return Value

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

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)

Arguments

ParameterTypeDescription
firstconst DateTimeOffset&First object to compare.
secondconst DateTimeOffset&Second object to compare.

Return Value

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

See Also