Companion

object Companion

Properties

Link copied to clipboard
const val JEWISH_EPOCH: Int

the Jewish epoch using the RD (Rata Die/Fixed Date or Reingold Dershowitz) day used in Calendrical Calculations. Day 1 is January 1, 0001 Gregorian

Functions

Link copied to clipboard
fun getNumDaysInHebrewMonth(month: HebrewMonth, year: Long): Int
Link copied to clipboard
fun getNumDaysInHebrewYear(year: Long): Int
Link copied to clipboard
fun LocalDate.toHebrewDate(): HebrewLocalDate
Link copied to clipboard
fun LocalDate.withDayOfMonth(dayOfMonth: Int): LocalDate
Link copied to clipboard
fun LocalDate.withMonth(month: Month): LocalDate
Link copied to clipboard
fun LocalDate.withYear(year: Int): LocalDate

Computes the HebrewLocalDate of a given Gregorian date.