Public date (inter-annual,
Int month,
int day)
Parameters:
Year-to-year minus 1900 must be a number between 0 and 8099. (Note that 8099 is obtained by subtracting 1900 from nine thousand nine hundred and ninety-nine. )
A number between month -0 and 1 1.
Numbers between days-1 and 3 1.
The test code is as follows:
Import java.util.date;
Common class test {
Public static void main (strinargs []) {
Date = new date (20 10- 1900, 1,10);
System.out.println (date);
}
}
Running results:
Wednesday February10 00: 00: 00 CST 2010
I hope it helps you. . . . . . There are still some problems bothering me. . . .