Database date to GregorianCalendar
I have a simple sql: "SELECT FVER_DATE FROM FILE_VERSION"
and following code:
ResultSet rs = db.getResultSet(sql);
Date dbDate = rs.getDate("FVER_DATE");
GregorianCalendar versionDate=new GregorianCalendar(dbDate.getYear(),dbDate.getMonth(), dbDate.getDate());
How can this code be improved so it no longer uses deprected code?
Thanks

