@@ -8,6 +8,7 @@ Supports several learning schedules
8
8
* Daf Yomi (Babylonian Talmud / Bavli) - ` dafYomi `
9
9
* Mishna Yomi - ` mishnaYomi `
10
10
* Nach Yomi - ` nachYomi `
11
+ * Tanakh Yomi - ` tanakhYomi `
11
12
* Psalms / Tehillim (30 day cycle) - ` psalms `
12
13
* Yerushalmi Yomi (Jerusalem Talmud)
13
14
* Vilna edition - ` yerushalmi-vilna `
@@ -35,19 +36,18 @@ const hd = new HDate(dt);
35
36
const ev = DailyLearning .lookup (' dafYomi' , hd);
36
37
console .log (dt .toLocaleDateString (), hd .toString (), ev .render (' en' ));
37
38
```
38
-
39
39
## Classes
40
40
41
41
<dl >
42
42
<dt ><a href =" #DafPage " >DafPage</a ></dt >
43
43
<dd ><p >Represents a tractate and page number</p >
44
44
</dd >
45
- <dt ><a href =" #DafYomi " >DafYomi</a ></dt >
46
- <dd ><p >Returns the Daf Yomi for given date</p >
47
- </dd >
48
45
<dt ><a href =" #DafPageEvent " >DafPageEvent</a ></dt >
49
46
<dd ><p >Event wrapper around a DafPage instance</p >
50
47
</dd >
48
+ <dt ><a href =" #DafYomi " >DafYomi</a ></dt >
49
+ <dd ><p >Returns the Daf Yomi for given date</p >
50
+ </dd >
51
51
<dt ><a href =" #DafYomiEvent " >DafYomiEvent</a ></dt >
52
52
<dd ><p >Event wrapper around a DafYomi instance</p >
53
53
</dd >
@@ -83,6 +83,12 @@ and Ketuvim (Writings).</p>
83
83
<dt ><a href =" #DafWeeklyEvent " >DafWeeklyEvent</a ></dt >
84
84
<dd ><p >Event wrapper around a daily weekly</p >
85
85
</dd >
86
+ <dt ><a href =" #TanakhYomi " >TanakhYomi</a ></dt >
87
+ <dd ><p >Returns the Daf Yomi for given date</p >
88
+ </dd >
89
+ <dt ><a href =" #TanakhYomiEvent " >TanakhYomiEvent</a ></dt >
90
+ <dd ><p >Event wrapper around a tanakhYomi</p >
91
+ </dd >
86
92
</dl >
87
93
88
94
## Constants
@@ -127,6 +133,9 @@ cycle began (2 February 1980 for Vilna,
127
133
<dt ><a href =" #dafWeekly " >dafWeekly(date)</a > ⇒ <code ><a href =" #DafPage " >DafPage</a ></code ></dt >
128
134
<dd ><p >Daf-a-Week</p >
129
135
</dd >
136
+ <dt ><a href =" #tanakhYomi " >tanakhYomi(date)</a > ⇒ <code ><a href =" #TanakhYomi " >TanakhYomi</a ></code ></dt >
137
+ <dd ><p >Calculates Tanakh Yomi.</p >
138
+ </dd >
130
139
</dl >
131
140
132
141
## Typedefs
@@ -183,22 +192,6 @@ Formats (with translation) the dafyomi result as a string like "Pesachim 34"
183
192
| --- | --- | --- |
184
193
| [ locale] | <code >string</code > | Optional locale name (defaults to active locale). |
185
194
186
- <a name =" DafYomi " ></a >
187
-
188
- ## DafYomi
189
- Returns the Daf Yomi for given date
190
-
191
- ** Kind** : global class
192
- <a name =" new_DafYomi_new " ></a >
193
-
194
- ### new DafYomi(date)
195
- Initializes a daf yomi instance
196
-
197
-
198
- | Param | Type | Description |
199
- | --- | --- | --- |
200
- | date | <code >Date</code > \| <code >HDate</code > \| <code >number</code > | Gregorian or Hebrew date |
201
-
202
195
<a name =" DafPageEvent " ></a >
203
196
204
197
## DafPageEvent
@@ -207,19 +200,20 @@ Event wrapper around a DafPage instance
207
200
** Kind** : global class
208
201
209
202
* [ DafPageEvent] ( #DafPageEvent )
210
- * [ new DafPageEvent(date, daf)] ( #new_DafPageEvent_new )
203
+ * [ new DafPageEvent(date, daf, mask )] ( #new_DafPageEvent_new )
211
204
* [ .render([ locale] )] ( #DafPageEvent+render ) ⇒ <code >string</code >
212
205
* [ .renderBrief([ locale] )] ( #DafPageEvent+renderBrief ) ⇒ <code >string</code >
213
206
* [ .url()] ( #DafPageEvent+url ) ⇒ <code >string</code >
214
207
215
208
<a name =" new_DafPageEvent_new " ></a >
216
209
217
- ### new DafPageEvent(date, daf)
210
+ ### new DafPageEvent(date, daf, mask )
218
211
219
212
| Param | Type |
220
213
| --- | --- |
221
214
| date | <code >HDate</code > |
222
215
| daf | [ <code >DafPage</code >] ( #DafPage ) |
216
+ | mask | <code >number</code > |
223
217
224
218
<a name =" DafPageEvent+render " ></a >
225
219
@@ -249,6 +243,22 @@ Returns Daf Yomi name without the 'Daf Yomi: ' prefix (e.g. "Pesachim 107").
249
243
Returns a link to sefaria.org or dafyomi.org
250
244
251
245
** Kind** : instance method of [ <code >DafPageEvent</code >] ( #DafPageEvent )
246
+ <a name =" DafYomi " ></a >
247
+
248
+ ## DafYomi
249
+ Returns the Daf Yomi for given date
250
+
251
+ ** Kind** : global class
252
+ <a name =" new_DafYomi_new " ></a >
253
+
254
+ ### new DafYomi(date)
255
+ Initializes a daf yomi instance
256
+
257
+
258
+ | Param | Type | Description |
259
+ | --- | --- | --- |
260
+ | date | <code >Date</code > \| <code >HDate</code > \| <code >number</code > | Gregorian or Hebrew date |
261
+
252
262
<a name =" DafYomiEvent " ></a >
253
263
254
264
## DafYomiEvent
@@ -685,6 +695,70 @@ Event wrapper around a daily weekly
685
695
686
696
### dafWeeklyEvent.getCategories() ⇒ <code >Array.< ; string> ; </code >
687
697
** Kind** : instance method of [ <code >DafWeeklyEvent</code >] ( #DafWeeklyEvent )
698
+ <a name =" TanakhYomi " ></a >
699
+
700
+ ## TanakhYomi
701
+ Returns the Daf Yomi for given date
702
+
703
+ ** Kind** : global class
704
+
705
+ * [ TanakhYomi] ( #TanakhYomi )
706
+ * [ new TanakhYomi(name, blatt)] ( #new_TanakhYomi_new )
707
+ * [ .render([ locale] )] ( #TanakhYomi+render ) ⇒ <code >string</code >
708
+
709
+ <a name =" new_TanakhYomi_new " ></a >
710
+
711
+ ### new TanakhYomi(name, blatt)
712
+ Initializes a daf yomi instance
713
+
714
+
715
+ | Param | Type |
716
+ | --- | --- |
717
+ | name | <code >string</code > |
718
+ | blatt | <code >number</code > |
719
+
720
+ <a name =" TanakhYomi+render " ></a >
721
+
722
+ ### tanakhYomi.render([ locale] ) ⇒ <code >string</code >
723
+ Formats (with translation) the dafyomi result as a string like "Pesachim 34"
724
+
725
+ ** Kind** : instance method of [ <code >TanakhYomi</code >] ( #TanakhYomi )
726
+
727
+ | Param | Type | Description |
728
+ | --- | --- | --- |
729
+ | [ locale] | <code >string</code > | Optional locale name (defaults to active locale). |
730
+
731
+ <a name =" TanakhYomiEvent " ></a >
732
+
733
+ ## TanakhYomiEvent
734
+ Event wrapper around a tanakhYomi
735
+
736
+ ** Kind** : global class
737
+
738
+ * [ TanakhYomiEvent] ( #TanakhYomiEvent )
739
+ * [ new TanakhYomiEvent(date, daf)] ( #new_TanakhYomiEvent_new )
740
+ * [ .url()] ( #TanakhYomiEvent+url ) ⇒ <code >string</code >
741
+ * [ .getCategories()] ( #TanakhYomiEvent+getCategories ) ⇒ <code >Array.< ; string> ; </code >
742
+
743
+ <a name =" new_TanakhYomiEvent_new " ></a >
744
+
745
+ ### new TanakhYomiEvent(date, daf)
746
+
747
+ | Param | Type |
748
+ | --- | --- |
749
+ | date | <code >HDate</code > |
750
+ | daf | [ <code >TanakhYomi</code >] ( #TanakhYomi ) |
751
+
752
+ <a name =" TanakhYomiEvent+url " ></a >
753
+
754
+ ### tanakhYomiEvent.url() ⇒ <code >string</code >
755
+ Returns a link to sefaria.org or dafyomi.org
756
+
757
+ ** Kind** : instance method of [ <code >TanakhYomiEvent</code >] ( #TanakhYomiEvent )
758
+ <a name =" TanakhYomiEvent+getCategories " ></a >
759
+
760
+ ### tanakhYomiEvent.getCategories() ⇒ <code >Array.< ; string> ; </code >
761
+ ** Kind** : instance method of [ <code >TanakhYomiEvent</code >] ( #TanakhYomiEvent )
688
762
<a name =" vilna " ></a >
689
763
690
764
## vilna
@@ -778,6 +852,17 @@ Daf-a-Week
778
852
| --- | --- | --- |
779
853
| date | <code >HDate</code > \| <code >Date</code > \| <code >number</code > | Hebrew or Gregorian date |
780
854
855
+ <a name =" tanakhYomi " ></a >
856
+
857
+ ## tanakhYomi(date) ⇒ [ <code >TanakhYomi</code >] ( #TanakhYomi )
858
+ Calculates Tanakh Yomi.
859
+
860
+ ** Kind** : global function
861
+
862
+ | Param | Type | Description |
863
+ | --- | --- | --- |
864
+ | date | <code >HDate</code > \| <code >Date</code > \| <code >number</code > | Hebrew or Gregorian date |
865
+
781
866
<a name =" MishnaYomi " ></a >
782
867
783
868
## MishnaYomi : <code >Object</code >
0 commit comments