Approach to convert from org.joda.time.DateTime to java.util.Calendar

vatsan picture vatsan · Dec 12, 2008 · Viewed 30k times · Source

Anyone done this and can share? I see an option or two but want to know what others have accomplished.

Answer

Esko picture Esko · Dec 12, 2008

According to joda-time documentation the preferred method to use is to call this: AbstractDateTime#toCalendar.