title: How to check if a particular date exists?
body: <p>how can I check if a particular date exists?. For example, if I do the following:</p>
  
  <pre><code> NSDateComponents *dateComponents = [[NSDateComponents alloc] init];
  [dateComponents setYear:2011];
  [dateComponents setMonth:2];
  [dateComponents setDay:29];
  
  NSDate *date = [[NSCalendar currentCalendar] dateFromComponents:dateComponents];
  [dateComponents release];
  
  NSLog(@"date: %@", date);
  </code></pre>
  
  <p>I will just get March 1st. I cannot find a function that allows this, the only way I can do it, is by checking after creating the NSDate if the components agree with what I ordered</p>