• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: WEEK_OF_YEAR Constructor for Gregorian Date?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: WEEK_OF_YEAR Constructor for Gregorian Date?


  • Subject: Re: WEEK_OF_YEAR Constructor for Gregorian Date?
  • From: james o <email@hidden>
  • Date: Mon, 15 Dec 2003 15:57:13 -0500

after sending this i realized i should add 7 to the first week / first day and so on... 7,14,21,et.... DUH!

On Dec 15, 2003, at 3:50 PM, james o wrote:

i can get the week of year value from a gregorian calendar date: weekOfYear = calendarGC.get(GregorianCalendar.WEEK_OF_YEAR); what i want to do is set a gregorian calendar date with an integer value.

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?

thanks,
./james

{ primax STUDIO : http://primaxSTUDIO.com : 513.772.1223  }

_______________________________________________
WebObjects-dev mailing list
email@hidden
http://www.omnigroup.com/mailman/listinfo/webobjects-dev
_______________________________________________
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.

References: 
 >WEEK_OF_YEAR Constructor for Gregorian Date? (From: james o <email@hidden>)

  • Prev by Date: Re: WORepetition - group by multiples of 10
  • Next by Date: JDBC install on windows Oracle & MS SQL Server
  • Previous by thread: WEEK_OF_YEAR Constructor for Gregorian Date?
  • Next by thread: Re: WEEK_OF_YEAR Constructor for Gregorian Date?
  • Index(es):
    • Date
    • Thread