Function getLeyningOnDate
- getLeyningOnDate(hdate, il, wantarray?): Leyning | LeyningWeekday | undefined
Parameters
- hdate: HDate
- il: boolean
Optional
wantarray: false
- getLeyningOnDate(hdate, il, wantarray): (Leyning | LeyningWeekday)[]
Parameters
- hdate: HDate
- il: boolean
- wantarray: true
Looks up leyning for a regular Shabbat, Monday/Thursday weekday or holiday.
If
hdate
coincides with a holiday that has Torah reading, returns the reading for that day (see getLeyningForHoliday)Otherwise, if
hdate
is a Saturday, returns getLeyningForParshaHaShavuaOtherwise, if
hdate
is a Monday or Thursday, returns Leyning for the Parashat haShavua, containing only theweekday
aliyot (nofullkriyah
).Otherwise, returns
undefined
.