Re: WEEK_OF_YEAR Constructor for Gregorian Date?
Re: WEEK_OF_YEAR Constructor for Gregorian Date?
- Subject: Re: WEEK_OF_YEAR Constructor for Gregorian Date?
- From: Ray Ackland <email@hidden>
- Date: Tue, 16 Dec 2003 16:06:52 +1300
James,
I don't know if you can use the normal GregorianDate(int year,
int month, int date) constructor, keeping month at 1 and using a date
value > 31. I would expect just adding 7 days in a loop to be the
easiest way to go though.
Ray.
On 16/12/2003, at 9:50, james o wrote:
in short, i'd like to create an NSArray that holds 52 or 53 gregorian
dates for the starting date of weeks in a year. can i construct a
gregorian calendar date with the an integer of 1-52? i.e., iterate 1
- 52 and build the dates?
my other option is to start with the first week in january and add 1
week to the date, then insert this date to my array but this will
include a few more date calculations. just wondering if there's a
different way to do this?
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.