]> err.no Git - sope/blobdiff - sope-ical/NGiCal/NSCalendarDate+ICal.h
updated framework version
[sope] / sope-ical / NGiCal / NSCalendarDate+ICal.h
index ea594978ab8c139b809238bbeede85bac7ea5061..1f10eac24b126802f8da12f8f7dfe6f86075480a 100644 (file)
   02111-1307, USA.
 */
 
-#ifndef __ICal2_NSCalendarDate_ICal_H__
-#define __ICal2_NSCalendarDate_ICal_H__
+#ifndef __NGiCal_NSCalendarDate_ICal_H__
+#define __NGiCal_NSCalendarDate_ICal_H__
 
 #import <Foundation/NSCalendarDate.h>
 
 @class NSTimeZone;
 
-@interface NSCalendarDate(ICalValue)
+@interface NSCalendarDate(iCalRepresentation)
+
++ (id)calendarDateWithICalRepresentation:(NSString *)_iCalRep;
 
 /* represention */
 
 
 @end
 
-#endif /* __ICal2_NSCalendarDate_ICal_H__ */
+@interface NSCalendarDate (iCalRecurrenceCalculatorExtensions)
+- (unsigned)yearsBetweenDate:(NSCalendarDate *)_date;
+- (unsigned)monthsBetweenDate:(NSCalendarDate *)_date;
+- (unsigned)daysBetweenDate:(NSCalendarDate *)_date;
+@end
+
+#endif /* __NGiCal_NSCalendarDate_ICal_H__ */