I know that the Date class has 2 constructors:-
1- Date(long date)
Constructs a Date object using a milliseconds time value.
date - milliseconds since January 1, 1970, 00:00:00
GMT.A negative number indicates the number of
milliseconds before January 1, 1970, 00:00:00 GMT.
2- Date(int year, int month, int day)
Constructs a Date object initialized with the given year, month, and day.
year - year-1900
month - 0 to 11
day - 1 to 31
If i have the number of days of some date but from 1900..
The number of days from 1/1/1900 to 27/2/1978 == 28548 days.
I need to know if there is any method in the Date class that can take this number of days and returns the corressponding date?
I need this method because the calaulation to convert this number to milliseconds will not be very accurate!!!
Any comment will be very helpfull...
Thanx in advance.