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

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.