Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
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
Boost this thread!