It's not a secret anymore!
The moose likes Android and the fly likes How to set the calendar ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Mobile » Android
Bookmark "How to set the calendar ?" Watch "How to set the calendar ?" New topic
Author

How to set the calendar ?

chetan dhumane
Ranch Hand

Joined: Jan 07, 2009
Posts: 638

How to set the calendar using the Calendar object for the particular hour of the day say 9AM ?
I know we can do it using the Calendar.add() , but those are for minutes and seconds , what about the hour ?

Thanks in advance.


Author @ http://www.ideasforideas.org/
Moody blogger who do not like to behave like target setting machines work.
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 32481
    
214

Android looks like it has Calendar.set just like Java does. Why can't you use that?


[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: How to set the calendar ?
 
It's not a secret anymore!