mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-23 04:15:26 +00:00
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:
@@ -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.
|
||||
|
||||
@@ -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];
|
||||
}
|
||||
|
||||
@@ -43,6 +43,9 @@
|
||||
|
||||
/* accessors */
|
||||
|
||||
- (void) setAllDayWithStartDate: (NSCalendarDate *) newStartDate
|
||||
duration: (unsigned int) days;
|
||||
|
||||
- (void) setEndDate: (NSCalendarDate *) _date;
|
||||
- (NSCalendarDate *) endDate;
|
||||
- (BOOL) hasEndDate;
|
||||
|
||||
Reference in New Issue
Block a user