File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Beginning Java and the fly likes convert java.util.date to java.util.calendar Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Reply Bookmark "convert java.util.date to java.util.calendar" Watch "convert java.util.date to java.util.calendar" New topic
Author

convert java.util.date to java.util.calendar

Arundhathi Menon
Ranch Hand

Joined: Jan 14, 2004
Posts: 113
Hi ,

Can you please tell me how can I convert java.util.date to java.util.calendar.

Thanks in advance
Menon
[ January 17, 2007: Message edited by: Arundhathi Menon ]

SCJP , SCWCD , SCBCD , SCDJWS
Ricky Martaputra
Ranch Hand

Joined: Apr 04, 2005
Posts: 42
Simply call the setTime method from Calendar object, which has an argument Date object.
 
I agree. Here's the link: http://zeroturnaround.com/jrebel
 
subject: convert java.util.date to java.util.calendar
 
Similar Threads
how to extract the date n time from images
Comparision of Time
Date & Time in java
How to convert java.util.Calendar in JSTL?
Counting number of weeks using timestamp