- if( [compo count] < 4 ) { found = NO; break; }
- if( year < [[compo objectAtIndex:0] intValue] &&
- month < [[compo objectAtIndex:1] intValue] &&
- day < [[compo objectAtIndex:2] intValue] &&
- hours < [[compo objectAtIndex:3] intValue] )
+ if( [compo count] < 4 ) continue;
+
+ // Dooh. ugly.
+ if( year < [[compo objectAtIndex:0] intValue] ||
+ (year ==[[compo objectAtIndex:0] intValue] &&
+ (month < [[compo objectAtIndex:1] intValue] ||
+ (month ==[[compo objectAtIndex:1] intValue] &&
+ (day < [[compo objectAtIndex:2] intValue] ||
+ (day ==[[compo objectAtIndex:2] intValue] &&
+ hours < [[compo objectAtIndex:3] intValue] ))))))