I need to convert a unix timestamp to a date object. I tried this:
java.util.Date time = new java.util.Date(timeStamp);
Timestamp value
Date d = new Date(i * 1000 + TimeZone.getDefault().getRawOffset());