I understand this, but I think that we should not add new code that calls deprecated API.
Jacopo On Apr 5, 2014, at 8:07 AM, [email protected] wrote: > I was aware of that, but the long argument contains the time component. > > -Adrian > > > Quoting Jacopo Cappellato <[email protected]>: > >> On Apr 5, 2014, at 3:46 AM, [email protected] wrote: >> >>> + return new java.sql.Date(parsedDate.getYear(), >>> parsedDate.getMonth(), parsedDate.getDay()); >> >> This constructor is deprecated. >> >> "Deprecated. instead use the constructor Date(long date)" >> >> Jacopo >> >> > > >
