Win a copy of Java Database Connections & Transactions (e-book only) this week in the JDBC forum!
    Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Knute Snortum
  • Paul Clapham
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Frits Walraven
Bartenders:
  • Ganesh Patekar
  • Tim Holloway
  • salvin francis

Question regarding the use of Calendar  RSS feed

 
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Report post to moderator
I have a question regarding the use of Calendar.

User will give year (e.g 2006,2007, etc.) as input. I have to find out the "date" of the "friday,saturday and sunday" of each month through out the year. Then I have to display thaose as result.
How can I do that? Can anyone please help me for solving this problem?
Can any one please give me any hint by sample program code?

Thanks
 
author
Posts: 14112
  • Mark post as helpful
  • send pies
  • Report post to moderator
Answered here: http://www.coderanch.com/t/382147/java/java/Calendar-Java
 
Try 100 things. 2 will work out, but you will never know in advance which 2. This tiny ad might be one:
how do I do my own kindle-like thing - without amazon
https://coderanch.com/t/711421/engineering/kindle-amazon
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!