operator == Operator
Definition
operator ==(DateSpan, DateSpan)
Indicates whether two DateSpan instances are equal.
public static bool operator ==(DateSpan dateSpan1, DateSpan dateSpan2)
Parameters
dateSpan1DateSpanThe first date interval to compare.
dateSpan2DateSpanThe second date interval to compare.
Returns
- bool
trueif the values ofdateSpan1anddateSpan2are equal; otherwise, false.