JewishDate

constructor(molad: Long)

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

molad

the number of chalakim since the beginning of Sunday prior to BaHaRaD


constructor(hebrewYear: Int, hebrewMonth: HebrewMonth, hebrewDayOfMonth: Int)

Creates a Jewish date based on a Jewish year, month and day of month.

Parameters

hebrewYear

the Jewish year

jewishMonth

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.

hebrewDayOfMonth

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

IllegalArgumentException

if the day of month is < 1 or 30, or a year of < 0 is passed in.


constructor(hebrewYear: Long, hebrewMonth: HebrewMonth, hebrewDayOfMonth: Int)
constructor(hebrewYear: Int, hebrewMonth: Int, hebrewDayOfMonth: Int)
constructor(localDate: LocalDate)
constructor(hebrewLocalDate: HebrewLocalDate)


constructor()

Default constructor will set a default date to the current system date.