DateTimeException if the resulting
Date would not be valid.
Parameters
year | Year of the Gregorian Calendar. Positive values are A.D. Non-positive values are B.C. with year 0 being the year prior to 1 A.D. |
month | Month of the year (January is 1). |
day | Day of the month. |