Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Converting from java.util.Date to java.util.GregorianCalendar

 
Dale DeMott
Ranch Hand
Posts: 515
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can someone help me convert from java.util.Date to java.util.GregorianCalendar w/out going through deprecated methods.
Thanks!
 
Dirk Schreckmann
Sheriff
Posts: 7023
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'd bet some useful information would turn up after a quick search on the beginners forum.
 
Paul Stevens
Ranch Hand
Posts: 2823
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The setTime() that is inherited from Calendar takes a Date.
 
Jim Yingst
Wanderer
Sheriff
Posts: 18671
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Just watch out for those surly bartenders they have there.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic