- (NSCalendarDate *)nextMonth {
NSCalendarDate *date = [self thisMonth];
-
- return [date dateByAddingYears:0 months:0 days:[date numberOfDaysInMonth]
+ return [date dateByAddingYears:0 months:1 days:0
hours:0 minutes:0 seconds:0];
}
int j, rcount;
for (j = 0, rcount = [res count]; j < rcount; j++) {
- NSDictionary *record;
-
- record = [res objectAtIndex:j];
-
- if ([_uniquer containsObject:[record valueForKey:@"uid"]])
- continue;
+ NSDictionary *record;
+
+ record = [res objectAtIndex:j];
+
+ if ([_uniquer containsObject:[record valueForKey:@"uid"]])
+ continue;
- [ma addObject:record];
- [_uniquer addObject:[record valueForKey:@"uid"]];
+ [ma addObject:record];
+ [_uniquer addObject:[record valueForKey:@"uid"]];
}
}
}