Instance Method

isEqualToDateInterval:

Indicates whether the receiver is equal to the specified date interval.

Declaration

- (BOOL)isEqualToDateInterval:(NSDateInterval *)dateInterval;

Parameters

dateInterval

The date interval with which to check the receiver for equality.

Return Value

YES if the startDate and duration of dateInterval and the receiver are equal. Otherwise, NO.

See Also

Comparing Date Intervals

- compare:

Compares the receiver with the specified date interval.