View Single Post
  #3 (permalink)  
Old 09-07-2008, 10:55 AM
gamers2000 gamers2000 is offline
Newbie
 
Join Date: Dec 2007
Posts: 2
Rep Power: 0
gamers2000 is on a distinguished road
Default Re: Beginners calendar exercise

Sorry, what is it that you need help with?

Creating a GregorianCalendar with a given month and year?

If that is the case, the API shows the one constructor of GregorianCalendar as
GregorianCalendar(int year, int month, int date)

So, all you have to do is simply create a GregorianCalendar, passing in the year,month and if not needed, any date.

I suppose you know how to handle user input?
Reply With Quote