Skip to main content

Module limudim

Module limudim 

Source
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

CalculatorUnit typeNotes
DafYomiBavliDafDaily Bavli daf; cycle 1 began 1923-09-11
DafHashavuaBavliDafWeekly Bavli daf (Sunday–Friday); began 2005-03-06
AmudYomiBavliDirshuAmudDaily Bavli amud (Dirshu); began 2023-10-16
DafYomiYerushalmiVilnaDafDaily Yerushalmi daf (Vilna edition); began 1980-02-02
MishnaYomisMishnasTwo mishnayos per day; began 1947-05-20
PirkeiAvosPirkeiAvosUnitSummer Shabbos afternoons; Israel vs. diaspora
TehillimMonthlyTehillimUnitPsalms 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
AmudYomiBavliDirshu
Calculates the Amud Yomi Bavli Dirshu schedule.
Daf
DafHashavuaBavli
Calculates the Daf Hashavua Bavli schedule.
DafYomiBavli
Calculates the Daf Yomi Bavli schedule.
DafYomiYerushalmiVilna
Calculates the Daf Yomi Yerushalmi schedule using the Vilna Edition of the Jerusalem Talmud.
Mishna
MishnaYomis
Calculates the Mishna Yomis schedule.
Mishnas
Represents a pair of mishnayos.
PirkeiAvos
Calculates the Pirkei Avos schedule.
TehillimMonthly
Calculates the Tehillim (Psalms) monthly schedule.

Enums§

PirkeiAvosUnit
Represents a Pirkei Avos reading unit
Side
TehillimUnit
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.
LimudCalendar
Looks up the scheduled daily limud for a calendar date.