File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Soft Skills: The software developer's life manual this week in the Jobs Discussion forum!
    Bookmark Topic Watch Topic
  • New Topic

Code to check whether a given date falls on weekend or holidays

 
Sonali Sabnis
Greenhorn
Posts: 20
  • 0
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hi,

Can anyone provide a code fragment which will accept a date and check if it falls on weekend or holidays.
If it falls on weekend or holidays then I need to increment that date in order to check again if the new date( incremented) falls on holiday or weekend.

Appriciate yoor help and quick responses.
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Report post to moderator
I see you posting in the intermediate forum so this copy will be closed.
 
It is sorta covered in the JavaRanch Style Guide.
    Bookmark Topic Watch Topic
  • New Topic