aspose file tools*
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
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: 16236
    
  21

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


Customer surveys are for companies who didn't pay proper attention to begin with.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: How do i get the start and the end date for a perticular week