IYAR

Value of the month field indicating Iyar, the second numeric month of the year in the Jewish calendar. With the year starting at TISHREI, it would actually be the 8th (or 9th in a leap) month of the year.

Properties

Link copied to clipboard
val name: String
Link copied to clipboard

Returns the HebrewMonth which follows this month, with the first being NISSAN and last being ADAR_II. If this is the last month, this will wrap around and return the first month (which would actually be part of the next year). Note: this does not account for leap years and the presence of ADAR_II - it blindly gets the next month. In order to properly determine the next month accounting for leap years and without wrapping, use getNextMonthInYear.

Link copied to clipboard
val ordinal: Int
Link copied to clipboard

Returns the HebrewMonth which came before this month, with the first being NISSAN and last being ADAR_II. If this is the first month, this will wrap around and return the last month (which would actually be part of the previous year). Note: this does not account for leap years and the presence of ADAR_II - it blindly gets the next month. In order to properly determine the previous month accounting for leap years and without wrapping, use getPreviousMonthInYear.

Link copied to clipboard
val value: Int

Functions

Link copied to clipboard
fun getNextMonthInYear(jewishYear: Long, tishreiBased: Boolean = true): HebrewMonth?

Returns the next month in the jewishYear (with TISHREI being the first if tishreiBased is true, otherwise NISSAN), or null if this is the last month of the year. This method will not return ADAR_II if jewishYear is not a leap year.

Link copied to clipboard
fun getNumDaysInMonthForYear(jewishYear: Long): Int

Returns the number of days in this month for the given jewishYear.

Link copied to clipboard
fun getPreviousMonthInYear(tishreiBased: Boolean = true): HebrewMonth?

Returns the previous month in the jewishYear (with TISHREI being the first if tishreiBased is true, otherwise NISSAN), or null if this is the first month of the year. This method will not return ADAR_II if jewishYear is not a leap year.

Link copied to clipboard
fun getTishreiBasedValueInYear(jewishYear: Long): Int
Link copied to clipboard
fun isFirstMonthInYear(tishreiBased: Boolean = true): Boolean
Link copied to clipboard
fun isLastMonthInYear(jewishYear: Long, tishreiBased: Boolean = true): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard