Monotone-Parent: 04987bf3460429ef8bd5a62e68e90a47404843df

Monotone-Revision: f2a6e6c575e2fd5429604d257d06fef7dcb07e7e

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2007-06-07T17:45:48
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2007-06-07 17:45:48 +00:00
parent bd14e56e30
commit 89b5996179
3 changed files with 10 additions and 2 deletions
+5
View File
@@ -1,5 +1,10 @@
2007-06-07 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* iCalDateTime.m ([iCalDateTime
-_setDateTime:dateTimeforAllDayEntity:forAllDayEntity]):
inverted the all day logic because all day dates where generated
for regular dates and the other way around...
* iCalEvent.m ([iCalEvent
-setAllDayWithStartDate:newStartDateduration:days]): new method
that sets the start and end dates in an all day fashion.
+2 -2
View File
@@ -109,9 +109,9 @@
tmpTime = [dateTime copy];
[tmpTime setTimeZone: utcTZ];
if (forAllDayEntity)
fmtTimeString = [tmpTime iCalFormattedDateTimeString];
else
fmtTimeString = [tmpTime iCalFormattedDateString];
else
fmtTimeString = [tmpTime iCalFormattedDateTimeString];
timeString = [NSString stringWithFormat: @"%@Z", fmtTimeString];
[tmpTime release];
}
+3
View File
@@ -43,6 +43,9 @@
/* accessors */
- (void) setAllDayWithStartDate: (NSCalendarDate *) newStartDate
duration: (unsigned int) days;
- (void) setEndDate: (NSCalendarDate *) _date;
- (NSCalendarDate *) endDate;
- (BOOL) hasEndDate;