Hebrew Local Date
A class representing a Hebrew local date. Hebrew analog to kotlinx.datetime.LocalDate Although the Hebrew year actually starts in HebrewMonth.TISHREI, the choice was made to assign HebrewMonth.NISSAN with a value of 1. This may be because the year is colloquially said to start in Nissan (in accordance with the opinion Maseches Rosh Hashana (TODO include source) that the world was created in Nissan). Note: this class considers the Gregorian calendar to start at year 0, in accordance with ISO-8601.
Parameters
the Hebrew year Ano Mundi, e.g. 5783 (2023 Gregorian)
the day of the month. This is a value between 1 and 30. Leap years can change the upper-bound of this number.
the Hebrew month. This is a value between 1 and 13. The value of 13 represents Adar II on a leap year.
Functions
Compares this date to another date.
Returns a copy of this HebrewLocalDate with the specified number of days added.
Computes the Gregorian LocalDate of a given HebrewLocalDate. Note: this class considers the Gregorian calendar to start at year 0, in accordance with ISO-8601.
Returns this object with the dayOfMonth set to the given newDayOfMonth.