aspose file tools*
The moose likes Java in General and the fly likes Question regarding the use of Calendar Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Reply locked New topic
Author

Question regarding the use of Calendar

Soumya Ghosh
Greenhorn

Joined: Dec 31, 2006
Posts: 26
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
Ilja Preuss
author
Sheriff

Joined: Jul 11, 2001
Posts: 14112
Answered here: http://www.coderanch.com/t/382147/java/java/Calendar-Java


The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Question regarding the use of Calendar
 
Similar Threads
Question regarding Calendar in Java
public abstract class Calendar
Appointment Calendar
Appointment Calendar
Calendar problem