Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 java calendar
Index -> Programming, Java -> Java Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
Fonzie




PostPosted: Mon Nov 13, 2006 4:11 pm   Post subject: java calendar

I need to use the java calendar class (in the standard api) for an assignment I'm doing. The class is abstract so I can't instance it, but the method I need to use is set, which cannot be invoked on calendar. I'm not really sure how set is supposed to be used here.

As a work around I used the GregorianCalendar class and used set on it. However, now all my answers are slightly different from what the autochecker wants it to be.

exactly how is set ever supposed to be used?
Sponsor
Sponsor
Sponsor
sponsor
wtd




PostPosted: Mon Nov 13, 2006 4:38 pm   Post subject: (No subject)

Please post the code you've written.

If it's formatted by RTP, I may make fun of you. Wink
Fonzie




PostPosted: Mon Nov 13, 2006 9:22 pm   Post subject: (No subject)

I'll post my code tomorrow at around 3:00, as this is just a small asignment and didn't think to e-mail it to myself. I need to access it from school. Until then, do you have any idea of how calendar is supposed to be weilded?
Display posts from previous:   
   Index -> Programming, Java -> Java Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 3 Posts ]
Jump to:   


Style:  
Search: