Package net.hebrewcalendar.learning
Class TorahReading
- java.lang.Object
-
- net.hebrewcalendar.learning.TorahReading
-
public final class TorahReading extends Object
What is read from the Torah on a given day.Distinct from
Chumash, which gives the daily portion a person learns through the week. This is what is read from the scroll: the aliyot and the maftir.Verified against opentorah's own answers — see
ReadingsAgainstOpentorahTestand the fixture it reads.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTorahReading.ResultThe day's reading: its aliyot in order, and the maftir if there is one.static classTorahReading.SlotWhen in the day a reading is read.static classTorahReading.SpanOne span of Chumash: an aliyah, or the maftir.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TorahReading.ResultforDate(LocalDate date, Custom custom, boolean inIsrael)The Shabbat morning Torah reading for this date, or null if the date is not a Shabbat with a weekly parsha.static List<TorahReading.Result>forDay(LocalDate date, Custom custom, boolean inIsrael)Every Torah reading that falls on this date, in the order they are read.
-
-
-
Method Detail
-
forDate
public static TorahReading.Result forDate(LocalDate date, Custom custom, boolean inIsrael)
The Shabbat morning Torah reading for this date, or null if the date is not a Shabbat with a weekly parsha.Its seven aliyot, with the maftir at its tail, and the special days that displace one or both. For anything else -- a festival, a weekday, the afternoon -- use
forDay(java.time.LocalDate, net.hebrewcalendar.data.Custom, boolean).
-
forDay
public static List<TorahReading.Result> forDay(LocalDate date, Custom custom, boolean inIsrael)
Every Torah reading that falls on this date, in the order they are read.- Shabbat morning -- the week's parsha in seven aliyot and a maftir, or the reading of a festival that has taken the day
- a festival or fast on a weekday -- its own reading
- Rosh Chodesh, and the weekdays of Chanukah -- theirs
- Shabbat Mincha, and Monday and Thursday morning where nothing else claims them -- the first three aliyot of the parsha of the Shabbat ahead
- Yom Kippur and the fasts -- an afternoon reading as well
-
-