This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
The moose likes JSP and the fly likes How do i get the start and the end date for a perticular week Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "How do i get the start and the end date for a perticular week" Watch "How do i get the start and the end date for a perticular week" New topic
Author

How do i get the start and the end date for a perticular week

Rinku Sharma
Greenhorn

Joined: Mar 30, 2001
Posts: 18
hi friends,
I have a problem in in getting the first date and the last date of a perticular week.
I have the following parameters with me:
date,month,year and the week no.(ie whether its 42 week etc.).
Can somebody please tell me that how do i find the startdate and the enddate for a perticular week considering that i have the above parameters.
eg:
date: 01
month: 01
year: 2001
week: 1st week
now using the above parameters how do i get the startdate and the enddate for the week.
bye,
amit
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 17159
    
  27

Look at classes java.util.Date and Calendar. If you need help, ask in the General Java Questions forum.


An IDE is no substitute for an Intelligent Developer.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How do i get the start and the end date for a perticular week
 
It's not a secret anymore!