File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
convert java.util.date to java.util.calendar
Joined: Jan 14, 2004
Jan 17, 2007 04:39:00
Can you please tell me how can I convert java.util.date to java.util.calendar.
Thanks in advance
[ January 17, 2007: Message edited by: Arundhathi Menon ]
SCJP , SCWCD , SCBCD , SCDJWS
Joined: Apr 04, 2005
Jan 17, 2007 04:53:00
Simply call the setTime method from Calendar object, which has an argument Date object.
I agree. Here's the link:
subject: convert java.util.date to java.util.calendar
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
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013