set Gregorian Date
Sets the Gregorian Date, and updates the Jewish date accordingly. Like the Java Calendar A value of 0 is expected for January.
Parameters
year
the Gregorian year
month
the Gregorian month. Between 1 and 12.
day Of Month
the Gregorian day of month - 1 for January, 12 for December. If this is the number of days in the month/year, the last valid date of the month will be set
Throws
Illegal Argument Exception
if a year of < 1, a month < 0 or 11 or a day of month < 1 is passed in.
Note: This setter will correct the dayOfMonth if passed in an invalid number given the year and month (e.g. February 29 in a leap year)