Monotone-Parent: 0b90cd4551d77a18ccf4b35f7e05e19da1e8aa72

Monotone-Revision: 00e97722e798468f781e285fd1dca338361855c9

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2007-06-07T16:12:45
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2007-06-07 16:12:45 +00:00
parent 31b79574c9
commit ba24c765a8
3 changed files with 4 additions and 87 deletions
-39
View File
@@ -1,39 +0,0 @@
/* CardGroup+iCal.h - this file is part of $PROJECT_NAME_HERE$
*
* Copyright (C) 2006 Inverse groupe conseil
*
* Author: Wolfgang Sourdeau <wsourdeau@inverse.ca>
*
* This file is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* This file is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
#ifndef CARDGROUP_ICAL_H
#define CARDGROUP_ICAL_H
@class NSString;
@class NSCalendarDate;
#import "CardGroup.h"
@interface CardGroup (iCalExtensions)
- (void) setDate: (NSCalendarDate *) _value
forDateTimeValue: (NSString *) valueName;
- (NSCalendarDate *) dateForDateTimeValue: (NSString *) valueName;
@end
#endif /* CARDGROUP_ICAL_H */
-48
View File
@@ -1,48 +0,0 @@
/* CardGroup+iCal.m - this file is part of SOPE
*
* Copyright (C) 2006 Inverse groupe conseil
*
* Author: Wolfgang Sourdeau <wsourdeau@inverse.ca>
*
* This file is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* This file is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
#import "iCalDateTime.h"
#import "CardGroup+iCal.h"
@implementation CardGroup (iCalExtensions)
- (void) setDate: (NSCalendarDate *) _value
forDateTimeValue: (NSString *) valueName
{
iCalDateTime *dateValue;
dateValue = (iCalDateTime *) [self uniqueChildWithTag: valueName];
[dateValue setDateTime: _value];
}
- (NSCalendarDate *) dateForDateTimeValue: (NSString *) valueName
{
iCalDateTime *dateValue;
dateValue = (iCalDateTime *) [self uniqueChildWithTag: valueName];
return [dateValue dateTime];
}
@end
+4
View File
@@ -1,3 +1,7 @@
2007-06-07 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* CardGroup+iCal.[hm]: removed category module.
2007-04-27 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* NGVCard.m ([NGVCard -n]): simplified method by returning the