I'm trying to create a Date like this:
date = new Date(year-1900,mon-1,day,hrs,min,sec);
and Eclips gives me this warning: "The constructor Date(int,int,int,int,int) is deprecated".
What does it mean for a constructor to be deprecated? What can I do?