C# Class Zmanim.HebrewCalendar.YomiCalculator

This class calculates the Daf Yomi page (daf) for a given date. The class currently only supports Daf Yomi Bavli, but may cover Yerushalmi, Mishna Yomis etc in the future. @author © Bob Newell (original C code) @author © Eliyahu Hershfeld 2011 @version 0.0.1
Mostra file Open project: Yitzchok/Zmanim

Public Methods

Method Description
getDafYomiBavli ( System.DateTime date ) : Zmanim.HebrewCalendar.Daf

Returns the Daf Yomi Bavli Daf for a given date. The first Daf Yomi cycle started on Rosh Hashana 5684 (September 11, 1923) and calculations prior to this date will result in an IllegalArgumentException thrown. For historical calculations (supported by this method), it is important to note that a change in length of the cycle was instituted starting in the eighth Daf Yomi cycle beginning on June 24, 1975. The Daf Yomi Bavli cycle has a single masechta of the Talmud Yerushalmi - Shekalim as part of the cycle. Unlike the Bavli where the number of daf per masechta was standardized since the original Bomberg Edition published from 1520 - 1523, there is no uniform page length in the Yerushalmi. The early cycles had the Yerushalmi Shekalim length of 13 days following the Zhytomyr Shas used by Rabbi Meir Shapiro. With the start of the eighth Daf Yomi cycle beginning on June 24, 1975 the length of the Yerushalmi shekalim was changed from 13 to 22 daf to follow the Vilna Shas that is in common use today.

Private Methods

Method Description
getJulianDay ( System.DateTime date ) : int

Return the Julian day from a Java Date.

Method Details

getDafYomiBavli() public static method

Returns the Daf Yomi Bavli Daf for a given date. The first Daf Yomi cycle started on Rosh Hashana 5684 (September 11, 1923) and calculations prior to this date will result in an IllegalArgumentException thrown. For historical calculations (supported by this method), it is important to note that a change in length of the cycle was instituted starting in the eighth Daf Yomi cycle beginning on June 24, 1975. The Daf Yomi Bavli cycle has a single masechta of the Talmud Yerushalmi - Shekalim as part of the cycle. Unlike the Bavli where the number of daf per masechta was standardized since the original Bomberg Edition published from 1520 - 1523, there is no uniform page length in the Yerushalmi. The early cycles had the Yerushalmi Shekalim length of 13 days following the Zhytomyr Shas used by Rabbi Meir Shapiro. With the start of the eighth Daf Yomi cycle beginning on June 24, 1975 the length of the Yerushalmi shekalim was changed from 13 to 22 daf to follow the Vilna Shas that is in common use today.
/// if the date is prior to the September 11, 1923 start date of the first Daf Yomi cycle
public static getDafYomiBavli ( System.DateTime date ) : Zmanim.HebrewCalendar.Daf
date System.DateTime
return Zmanim.HebrewCalendar.Daf