Jewish Date
Constructor that creates a JewishDate based on a molad passed in. The molad would be the number of chalakim/parts starting at the beginning of Sunday prior to the molad Tohu BeHaRaD (Be = Monday, Ha= 5 hours and Rad =204 chalakim/parts) - prior to the start of the Jewish calendar. BeHaRaD is 23:11:20 on Sunday night(5 hours 204/1080 chalakim after sunset on Sunday evening).
Parameters
the number of chalakim since the beginning of Sunday prior to BaHaRaD
Creates a Jewish date based on a Jewish year, month and day of month.
Parameters
the Jewish year
the Jewish month. The method expects a 1 for Nissan ... 12 for Adar and 13 for Adar II. Use the constants NISSAN ... ADAR (or ADAR_II for a leap year Adar II) to avoid any confusion.
the Jewish day of month. If 30 is passed in for a month with only 29 days (for example IYAR, or KISLEV in a year that isKislevShort), the 29th (last valid date of the month) will be set
Throws
if the day of month is < 1 or 30, or a year of < 0 is passed in.
Default constructor will set a default date to the current system date.