title: how to get year sequence as i am getting sequence of month only
body: <p><strong>I have get Sequence of month using following code</strong></p>
  
  <pre><code>NSDate *aDate = [NSDate dateWithTimeInterval:row*30*24*60*60  sinceDate:self.earliestPresentedDate];
  
      NSDateComponents *components = [self.calendar components:(NSEraCalendarUnit|NSYearCalendarUnit|NSMonthCalendarUnit|NSDayCalendarUnit) fromDate:[NSDate date]];
      NSDate *today = [self.calendar dateFromComponents:components];
      components = [self.calendar components:(NSEraCalendarUnit|NSYearCalendarUnit|NSMonthCalendarUnit|NSDayCalendarUnit) fromDate:aDate];
      NSDate *otherDate = [self.calendar dateFromComponents:components];
  
      if ([today isEqualToDate:otherDate]) {
  
      } else {
          NSDateFormatter *formatter = [[NSDateFormatter alloc] init];
          formatter.locale = [NSLocale currentLocale];
          formatter.dateFormat = @"MMM ";
  
          [lblDate setText:[formatter stringFromDate:aDate]];
      }
  </code></pre>
  
  <p>i want to  get Sequence of year how to get...please give solution</p>