wood burning stoves 2.0*
The moose likes Beginning Java and the fly likes Number of weeks between two dates Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Number of weeks between two dates" Watch "Number of weeks between two dates" New topic
Author

Number of weeks between two dates

mah kumar
Greenhorn

Joined: Feb 05, 2004
Posts: 22
Hi,

How to find number of weeks between two dates?

Regards
Mah
Dun Dagda
Ranch Hand

Joined: Oct 12, 2004
Posts: 54
Hi,
try having a look at the GregorianCalendar class in the java.util package. I has a number of useful methods that will help you do what you want.

DD


SCJP 1.4<br />SCWCD (in progress)
Nigel Browne
Ranch Hand

Joined: May 15, 2001
Posts: 673
Here is a DateDifference class I pick up along the way.
Dirk Schreckmann
Sheriff

Joined: Dec 10, 2001
Posts: 7023
http://faq.javaranch.com/view?JavaDatesFaq


[How To Ask Good Questions] [JavaRanch FAQ Wiki] [JavaRanch Radio]
mah kumar
Greenhorn

Joined: Feb 05, 2004
Posts: 22
Hi friends,

Thanks for reply

Regards
mah
 
Consider Paul's rocket mass heater.
 
subject: Number of weeks between two dates