isEqual(to:)
Indicates whether the receiver is equal to the specified date interval.
Declaration
func isEqual(to dateInterval: DateInterval) -> BoolParameters
- dateInterval:
The date interval with which to check the receiver for equality.
Return Value
true if the startDate and duration of dateInterval and the receiver are equal. Otherwise, false.