How to convert Java.util.Date to Calendar?
Posted on 2006-11-15
I'm trying to convert a Java.util.Date to a Calendar. Apparently, the ...Date is being deprecated in favor of Calendar. I don't actually have the Date per se. I have the "milliseconds since 12/1/1970" long value, which apparently forms the basis of Date. WITHOUT USING DEPRECATED DATE METHODS, is there a way I can convert the long value directly into a Calendar?