Expand description
Daily Torah and Talmud learning schedules (limudim).
This module maps a Hebrew calendar date to the learning unit assigned by a
particular program: Daf Yomi, Mishna Yomis, Pirkei Avos, monthly Tehillim,
and others. Each schedule is a zero-sized calculator type implementing
Limud; call LimudCalendar::limud on any HebrewCalendarDate to
look up that day’s assignment.
§Schedules
| Calculator | Unit type | Notes |
|---|---|---|
DafYomiBavli | Daf | Daily Bavli daf; cycle 1 began 1923-09-11 |
DafHashavuaBavli | Daf | Weekly Bavli daf (Sunday–Friday); began 2005-03-06 |
AmudYomiBavliDirshu | Amud | Daily Bavli amud (Dirshu); began 2023-10-16 |
DafYomiYerushalmiVilna | Daf | Daily Yerushalmi daf (Vilna edition); began 1980-02-02 |
MishnaYomis | Mishnas | Two mishnayos per day; began 1947-05-20 |
PirkeiAvos | PirkeiAvosUnit | Summer Shabbos afternoons; Israel vs. diaspora |
TehillimMonthly | TehillimUnit | Psalms divided across the Hebrew month |
Returns None when no learning is scheduled (for example, before a cycle
starts, on Shabbat for weekly programs, or outside Pirkei Avos season).
§Quick start
use jiff::civil;
use kosher_rust::limudim::prelude::*;
let date = civil::date(2017, 12, 28);
let daf = date.limud(DafYomiBavli::default()).unwrap();
assert_eq!(daf.tractate, Tractate::Shevuos);
assert_eq!(daf.page, 30);Import prelude (or crate::prelude) for calculators,
unit types, and LimudCalendar.
Modules§
- prelude
- Common limudim imports.
Structs§
- Amud
- Amud
Yomi Bavli Dirshu - Calculates the Amud Yomi Bavli Dirshu schedule.
- Daf
- DafHashavua
Bavli - Calculates the Daf Hashavua Bavli schedule.
- DafYomi
Bavli - Calculates the Daf Yomi Bavli schedule.
- DafYomi
Yerushalmi Vilna - Calculates the Daf Yomi Yerushalmi schedule using the Vilna Edition of the Jerusalem Talmud.
- Mishna
- Mishna
Yomis - Calculates the Mishna Yomis schedule.
- Mishnas
- Represents a pair of mishnayos.
- Pirkei
Avos - Calculates the Pirkei Avos schedule.
- Tehillim
Monthly - Calculates the Tehillim (Psalms) monthly schedule.
Enums§
- Pirkei
Avos Unit - Represents a Pirkei Avos reading unit
- Side
- Tehillim
Unit - Represents a Tehillim (Psalms) reading unit
- Tractate
- A tractate of the Talmud (Bavli or Yerushalmi).
Traits§
- Limud
- Trait for calculators that can be used to calculate the limud for a given date.
- Limud
Calendar - Looks up the scheduled daily limud for a calendar date.