Can anybody help me in this issue? If two dates are given then how can the no. of working days(excluding Sat. and Sun.) be calculated in Java. Anyn readymade methods available.
Michael Dunn
Ranch Hand
Joined: Jun 09, 2003
Posts: 4632
posted
0
You want it served to you on a platter?
What have you tried since last asking this question?
Given how you've written this, how do you expect start or end to change?
I'd consider using Calendar objects instead of Date objects too. If you have a look at the methods avaliable to a Calendar object you'll see why. [ September 20, 2004: Message edited by: Paul Sturrock ]
Thanks for the solutions. It worked. I was not aware of calendar class. This relaly helped in learnign date related manipulations using java. Hope that u will help me in future also. Thanks once again.
Regards Chinmay
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.
subject: Calculating no. of working days between tow dates