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