java code for repeating calender - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

java code for repeating calender

hem100hem100 Posts: 1Member
Hello guys, i have a problem wid my assignment that i have been given :-( ..
I have been told to make a project on repeating calender..
In this program a year has to be entered and thn the next year has to searched or found out which will have exactly same days of the weeks as the year entered..
So any1 having the code for tht program plz do post it ..

Comments

  • zibadianzibadian Posts: 6,349Member
    : Hello guys, i have a problem wid my assignment that i have been given :-( ..
    : I have been told to make a project on repeating calender..
    : In this program a year has to be entered and thn the next year has to searched or found out which will have exactly same days of the weeks as the year entered..
    : So any1 having the code for tht program plz do post it ..
    :
    :
    That's not too difficult. Use the Calendar class to obtain the first day of the week. Then you can increase the year value until the first day of the week of that year matches the previously stored one.
Sign In or Register to comment.