NSCalendar dateByAddingYears
NSCalendar dateByAddingYears
- Subject: NSCalendar dateByAddingYears
- From: email@hidden
- Date: Fri, 04 Apr 2003 14:07:29 -0800 (PST)
Here is a wierd one:
I have the following:
NSCalendarDate* launchDate = [[scheduledEvent startDate] retain];
NSCalendarDate *adjDate;
adjDate = [launchDate dateByAddingYears:0 months:0 days:0 hours:1 minutes:0
seconds:0];
it compiles just fine but when I run it i get a selector not recognized
(dateByAddingYears: months: days: hours: minutes: seconds:)
can anyone tell what I'm doing wrong?
thanks
Z
__________________________________________________________
Get your FREE personalized e-mail at
http://www.canada.com
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.