aspose file tools
The moose likes Java in General and the fly likes Converting from java.util.Date to java.util.GregorianCalendar Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Java in General
Reply Bookmark "Converting from java.util.Date to java.util.GregorianCalendar " Watch "Converting from java.util.Date to java.util.GregorianCalendar " New topic
Author

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

Dale DeMott
Ranch Hand

Joined: Nov 02, 2000
Posts: 514
Can someone help me convert from java.util.Date to java.util.GregorianCalendar w/out going through deprecated methods.
Thanks!


By failing to prepare, you are preparing to fail.<br />Benjamin Franklin (1706 - 1790)
Dirk Schreckmann
Sheriff

Joined: Dec 10, 2001
Posts: 7023
I'd bet some useful information would turn up after a quick search on the beginners forum.


[How To Ask Good Questions] [JavaRanch FAQ Wiki] [JavaRanch Radio]
Paul Stevens
Ranch Hand

Joined: May 17, 2001
Posts: 2823
The setTime() that is inherited from Calendar takes a Date.
Jim Yingst
Wanderer
Sheriff

Joined: Jan 30, 2000
Posts: 18670
Just watch out for those surly bartenders they have there.


"I'm not back." - Bill Harding, Twister
 
 
subject: Converting from java.util.Date to java.util.GregorianCalendar
 
Similar Threads
Date Problem
Please help with JAVA dates (URGENT!)
Date format
Date function
Enterprise application: handling date and time