klazuka kal dates between two dates
<p>I am using klazuka kal kalendar to present my events.
My data is loaded thru JSON protocol
The problem is that my events contain start and end date, now i was woundering how can i mark calendar dates between event start and end date?</p>

<pre><code>NSArray *array = [response bodyAsJSON];
    if (array){
      NSDateFormatter *fmt = [[[NSDateFormatter alloc] init] autorelease];
      [fmt setDateFormat:@"yyyy-MM-dd"];
      for (NSDictionary *dict in array) {
        NSDate *sd = [fmt dateFromString:[dict objectForKey:@"start"]];
        NSDate *ed = [fmt dateFromString:[dict objectForKey:@"end"]];
        [events addObject:[Event  eventSubject:[dict objectForKey:@"subject"]  comment:[dict objectForKey:@"comment"] date:sd]];
    }
}
dataReady = YES;
[callback loadedDataSource:self];
</code></pre>
