Skip to content

Add offline Limud Yomi calculators#284

Open
noamtu123 wants to merge 4 commits into
KosherJava:masterfrom
noamtu123:limud-yomi-offline-calculators
Open

Add offline Limud Yomi calculators#284
noamtu123 wants to merge 4 commits into
KosherJava:masterfrom
noamtu123:limud-yomi-offline-calculators

Conversation

@noamtu123

Copy link
Copy Markdown

Summary

  • Adds native offline calculators and result objects for Mishna Yomi, Rambam Yomi (1 chapter and 3 chapters), Daily Tehillim, Tanach Yomi, Kitzur Shulchan Aruch Yomi, and Shemiras HaLashon Yomi.
  • Adds JewishCalendar convenience getters following the existing Daf Yomi style.
  • Adds HebrewDateFormatter methods for English/transliterated and Hebrew display output for each new limud.
  • Keeps all calculations local to the library: no network calls and no new runtime dependencies.

Implementation Notes

  • Mishna Yomi is calculated from the cycle start date and the mishnayos-per-chapter table.
  • Rambam Yomi handles one-chapter and three-chapter cycles, including introduction sections and the special published groupings in Seder Tefilos and Hilchos Chametz U'Matzah.
  • Tanach Yomi follows the annual seder cycle from 23 Tishrei and returns null on skipped Shabbos/holiday dates.
  • Kitzur Shulchan Aruch Yomi and Shemiras HaLashon Yomi use Hebrew-date annual schedules, including short Cheshvan/Kislev handling where applicable.
  • Daily Tehillim combines the 30th day portion into the 29th day in 29-day Hebrew months.

Testing

  • mvn test
  • gradle test
  • Formatter stress sweep across 2020-2030 for all added limudim in English and Hebrew modes
  • git diff --check upstream/master...HEAD

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant