long time = value.getTime() + cal.getTimeZone().getRawOffset();
long time = value.getTime() + (cal.getTimeZone().getRawOffset() - Calendar.getInstance().getTimeZone().getRawOffset());
    public java.sql.Timestamp decodeTimestamp(Timestamp value, Calendar cal){        if (cal == null) {            return value;        }        else {            long time = value.getTime() + cal.getTimeZone().getRawOffset();				            return new Timestamp(time);        }    }