Same calculation as getBirthdayOrAnniversary, but returns the
result as a SimpleHebrewDate ({yy, mm, dd}) rather than
converting to a Gregorian Date. Useful when the caller needs the
Hebrew date directly (e.g. for rendering with gematriya or further
Hebrew-calendar arithmetic) and wants to avoid an extra R.D. →
Gregorian round-trip.
See getBirthdayOrAnniversary for the full description of the
algorithm and edge cases (Adar / Adar II, and the 30th of
Marcheshvan, Kislev, or Adar I).
Same calculation as
getBirthdayOrAnniversary, but returns the result as aSimpleHebrewDate({yy, mm, dd}) rather than converting to a GregorianDate. Useful when the caller needs the Hebrew date directly (e.g. for rendering withgematriyaor further Hebrew-calendar arithmetic) and wants to avoid an extra R.D. → Gregorian round-trip.See
getBirthdayOrAnniversaryfor the full description of the algorithm and edge cases (Adar / Adar II, and the 30th of Marcheshvan, Kislev, or Adar I).