]> err.no Git - sope/commitdiff
added a description
authorhelge <helge@e4a50df8-12e2-0310-a44c-efbce7f8a7e3>
Mon, 12 Feb 2007 21:31:19 +0000 (21:31 +0000)
committerhelge <helge@e4a50df8-12e2-0310-a44c-efbce7f8a7e3>
Mon, 12 Feb 2007 21:31:19 +0000 (21:31 +0000)
git-svn-id: http://svn.opengroupware.org/SOPE/trunk@1430 e4a50df8-12e2-0310-a44c-efbce7f8a7e3

sope-ical/NGiCal/ChangeLog
sope-ical/NGiCal/Version
sope-ical/NGiCal/iCalRecurrenceCalculator.m

index 64d6b9377ac497fbab7a3dc1c1745c87546db1ef..a9b04d6289e04af2bd9068786fa17d927ca6003f 100644 (file)
@@ -1,3 +1,7 @@
+2007-02-12  Helge Hess  <helge.hess@opengroupware.org>
+
+       * iCalRecurrenceCalculator.m: added -description (v4.7.78)
+
 2006-11-14  Helge Hess  <helge.hess@opengroupware.org>
 
        * iCalRecurrenceRule.m: parse (but not process or store) 'bymonth'
index 6965928e76a19226be495508a343fe9caa475ebd..3b3362c6901362d00f0c6688d695b4935e10b015 100644 (file)
@@ -2,7 +2,7 @@
 
 MAJOR_VERSION=4
 MINOR_VERSION=7
-SUBMINOR_VERSION:=77
+SUBMINOR_VERSION:=78
 
 # v4.5.40 requires NGExtensions v4.5.145
 # v4.5.37 requires NGExtensions v4.5.140
index d144efead70b613c7cb8a9b727896ced0033dd9b..4abe6979d1bed04377c66c048f6461a1c3f0af9e 100644 (file)
@@ -1,5 +1,6 @@
 /*
-  Copyright (C) 2004-2005 SKYRIX Software AG
+  Copyright (C) 2004-2007 SKYRIX Software AG
+  Copyright (C) 2007      Helge Hess
   
   This file is part of SOPE.
   
@@ -298,4 +299,23 @@ static Class yearlyCalcClass  = Nil;
   return nil;
 }
 
+
+/* descriptions */
+
+- (NSString *)description {
+  NSMutableString *ms;
+
+  ms = [NSMutableString stringWithCapacity:128];
+  [ms appendFormat:@"<0x%p[%@]:", self, NSStringFromClass([self class])];
+
+  if (self->rrule != nil)
+    [ms appendFormat:@" rrule=%@", self->rrule];
+  
+  if (self->firstRange != nil)
+    [ms appendFormat:@" range1=%@", self->firstRange];
+  
+  [ms appendString:@">"];
+  return ms;
+}
+
 @end /* iCalRecurrenceCalculator */