does anyone know why when I do this:
Date date = new Date();
return date.getDay()+1;
(using eclipse) I get a yellow line under the stmt: date.getDay() AND a middle line crossing the
word getDay()
when I place the cursor on top of 'getDay()' I get this:
the method getDay() from type Date is deprecated.
the result are correct but, I wonder if I should use something else?
thanks