withDayOfMonth

fun withDayOfMonth(newDayOfMonth: Int): HebrewLocalDate

Returns this object with the dayOfMonth set to the given newDayOfMonth.

Note: This method does not change the month or year (e.g. passing in a value of 32 does not increment the month).