Date(long date)
Constructs a Date
object initialized with the given
year, month, and day.
The result is undefined if a given argument is out of bounds.
year | the year minus 1900; must be 0 to 8099. (Note that 8099 is 9999 minus 1900.) | |
month | 0 to 11 | |
day | 1 to 31 |
Diagram: Data Date