permaculture playing cards*
The moose likes Beginning Java and the fly likes Calendar Class Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Calendar Class" Watch "Calendar Class" New topic
Author

Calendar Class

P. Sagdeo
Ranch Hand

Joined: Nov 13, 2003
Posts: 67
Can somebody fill me in on how the Calendar class works. I'm not sure exactly on how to refresh the date/hour/second, etc.
Dirk Schreckmann
Sheriff

Joined: Dec 10, 2001
Posts: 7023
Parth S.,
Welcome to JavaRanch!
We ain't got many rules 'round these parts, but we do got one. Please change your display name to comply with The JavaRanch Naming Policy.
Thanks Pardner! Hope to see you 'round the Ranch!


[How To Ask Good Questions] [JavaRanch FAQ Wiki] [JavaRanch Radio]
P. Sagdeo
Ranch Hand

Joined: Nov 13, 2003
Posts: 67
Is this ok?
Marilyn de Queiroz
Sheriff

Joined: Jul 22, 2000
Posts: 9052
    
  12
Thank you, P. Sagdeo.


JavaBeginnersFaq
"Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt
Marilyn de Queiroz
Sheriff

Joined: Jul 22, 2000
Posts: 9052
    
  12
Can you give a little more detail about "refresh"? Do you want a new date every time the application runs, everytime you push a button, or every second with no help from the user?
Dirk Schreckmann
Sheriff

Joined: Dec 10, 2001
Posts: 7023
I'm not sure, but perhaps you're trying to figure out doing something similar to the following example.
 
 
subject: Calendar Class