• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to set the calendar ?

 
chetan dhumane
Ranch Hand
Posts: 641
Android Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34965
378
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Android looks like it has Calendar.set just like Java does. Why can't you use that?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic