@@ -16,6 +16,9 @@ Supports several learning schedules
16
16
* 1 chapter a day cycle - ` rambam1 `
17
17
* Chofetz Chaim - ` chofetzChaim `
18
18
* Sefer Shemirat HaLashon - ` shemiratHaLashon `
19
+ * Daf-a-Week
20
+ * Daily - ` dafWeekly `
21
+ * Sundays only - ` dafWeeklySunday `
19
22
20
23
## Installation
21
24
``` bash
@@ -25,9 +28,15 @@ $ npm install @hebcal/learning
25
28
## Classes
26
29
27
30
<dl >
31
+ <dt ><a href =" #DafPage " >DafPage</a ></dt >
32
+ <dd ><p >Represents a tractate and page number</p >
33
+ </dd >
28
34
<dt ><a href =" #DafYomi " >DafYomi</a ></dt >
29
35
<dd ><p >Returns the Daf Yomi for given date</p >
30
36
</dd >
37
+ <dt ><a href =" #DafPageEvent " >DafPageEvent</a ></dt >
38
+ <dd ><p >Event wrapper around a DafPage instance</p >
39
+ </dd >
31
40
<dt ><a href =" #DafYomiEvent " >DafYomiEvent</a ></dt >
32
41
<dd ><p >Event wrapper around a DafYomi instance</p >
33
42
</dd >
@@ -60,6 +69,9 @@ and Ketuvim (Writings).</p>
60
69
<dt ><a href =" #PsalmsEvent " >PsalmsEvent</a ></dt >
61
70
<dd ><p >Event wrapper around a daily Psalms / Tehillim</p >
62
71
</dd >
72
+ <dt ><a href =" #DafWeeklyEvent " >DafWeeklyEvent</a ></dt >
73
+ <dd ><p >Event wrapper around a daily weekly</p >
74
+ </dd >
63
75
</dl >
64
76
65
77
## Constants
@@ -101,6 +113,9 @@ cycle began (2 February 1980 for Vilna,
101
113
<dt ><a href =" #dailyPsalms " >dailyPsalms(date)</a > ⇒ <code >any</code ></dt >
102
114
<dd ><p >Calculates Daily Psalms (Tehillim) for 30-day cycle.</p >
103
115
</dd >
116
+ <dt ><a href =" #dafWeekly " >dafWeekly(date)</a > ⇒ <code ><a href =" #DafPage " >DafPage</a ></code ></dt >
117
+ <dd ><p >Daf-a-Week</p >
118
+ </dd >
104
119
</dl >
105
120
106
121
## Typedefs
@@ -114,19 +129,55 @@ cycle began (2 February 1980 for Vilna,
114
129
</dd >
115
130
</dl >
116
131
132
+ <a name =" DafPage " ></a >
133
+
134
+ ## DafPage
135
+ Represents a tractate and page number
136
+
137
+ ** Kind** : global class
138
+
139
+ * [ DafPage] ( #DafPage )
140
+ * [ new DafPage(name, blatt)] ( #new_DafPage_new )
141
+ * [ .getBlatt()] ( #DafPage+getBlatt ) ⇒ <code >number</code >
142
+ * [ .getName()] ( #DafPage+getName ) ⇒ <code >string</code >
143
+ * [ .render([ locale] )] ( #DafPage+render ) ⇒ <code >string</code >
144
+
145
+ <a name =" new_DafPage_new " ></a >
146
+
147
+ ### new DafPage(name, blatt)
148
+ Initializes a daf yomi instance
149
+
150
+
151
+ | Param | Type |
152
+ | --- | --- |
153
+ | name | <code >string</code > |
154
+ | blatt | <code >number</code > |
155
+
156
+ <a name =" DafPage+getBlatt " ></a >
157
+
158
+ ### dafPage.getBlatt() ⇒ <code >number</code >
159
+ ** Kind** : instance method of [ <code >DafPage</code >] ( #DafPage )
160
+ <a name =" DafPage+getName " ></a >
161
+
162
+ ### dafPage.getName() ⇒ <code >string</code >
163
+ ** Kind** : instance method of [ <code >DafPage</code >] ( #DafPage )
164
+ <a name =" DafPage+render " ></a >
165
+
166
+ ### dafPage.render([ locale] ) ⇒ <code >string</code >
167
+ Formats (with translation) the dafyomi result as a string like "Pesachim 34"
168
+
169
+ ** Kind** : instance method of [ <code >DafPage</code >] ( #DafPage )
170
+
171
+ | Param | Type | Description |
172
+ | --- | --- | --- |
173
+ | [ locale] | <code >string</code > | Optional locale name (defaults to active locale). |
174
+
117
175
<a name =" DafYomi " ></a >
118
176
119
177
## DafYomi
120
178
Returns the Daf Yomi for given date
121
179
122
180
** Kind** : global class
123
-
124
- * [ DafYomi] ( #DafYomi )
125
- * [ new DafYomi(date)] ( #new_DafYomi_new )
126
- * [ .getBlatt()] ( #DafYomi+getBlatt ) ⇒ <code >number</code >
127
- * [ .getName()] ( #DafYomi+getName ) ⇒ <code >string</code >
128
- * [ .render([ locale] )] ( #DafYomi+render ) ⇒ <code >string</code >
129
-
130
181
<a name =" new_DafYomi_new " ></a >
131
182
132
183
### new DafYomi(date)
@@ -137,25 +188,56 @@ Initializes a daf yomi instance
137
188
| --- | --- | --- |
138
189
| date | <code >Date</code > \| <code >HDate</code > \| <code >number</code > | Gregorian or Hebrew date |
139
190
140
- <a name =" DafYomi+getBlatt " ></a >
191
+ <a name =" DafPageEvent " ></a >
141
192
142
- ### dafYomi.getBlatt() ⇒ <code >number</code >
143
- ** Kind** : instance method of [ <code >DafYomi</code >] ( #DafYomi )
144
- <a name =" DafYomi+getName " ></a >
193
+ ## DafPageEvent
194
+ Event wrapper around a DafPage instance
145
195
146
- ### dafYomi.getName() ⇒ <code >string</code >
147
- ** Kind** : instance method of [ <code >DafYomi</code >] ( #DafYomi )
148
- <a name =" DafYomi+render " ></a >
196
+ ** Kind** : global class
149
197
150
- ### dafYomi.render([ locale] ) ⇒ <code >string</code >
151
- Formats (with translation) the dafyomi result as a string like "Pesachim 34"
198
+ * [ DafPageEvent] ( #DafPageEvent )
199
+ * [ new DafPageEvent(date, daf)] ( #new_DafPageEvent_new )
200
+ * [ .render([ locale] )] ( #DafPageEvent+render ) ⇒ <code >string</code >
201
+ * [ .renderBrief([ locale] )] ( #DafPageEvent+renderBrief ) ⇒ <code >string</code >
202
+ * [ .url()] ( #DafPageEvent+url ) ⇒ <code >string</code >
152
203
153
- ** Kind** : instance method of [ <code >DafYomi</code >] ( #DafYomi )
204
+ <a name =" new_DafPageEvent_new " ></a >
205
+
206
+ ### new DafPageEvent(date, daf)
207
+
208
+ | Param | Type |
209
+ | --- | --- |
210
+ | date | <code >HDate</code > |
211
+ | daf | [ <code >DafPage</code >] ( #DafPage ) |
212
+
213
+ <a name =" DafPageEvent+render " ></a >
214
+
215
+ ### dafPageEvent.render([ locale] ) ⇒ <code >string</code >
216
+ Returns Daf Yomi name including the 'Daf Yomi: ' prefix (e.g. "Daf Yomi: Pesachim 107").
217
+
218
+ ** Kind** : instance method of [ <code >DafPageEvent</code >] ( #DafPageEvent )
154
219
155
220
| Param | Type | Description |
156
221
| --- | --- | --- |
157
222
| [ locale] | <code >string</code > | Optional locale name (defaults to active locale). |
158
223
224
+ <a name =" DafPageEvent+renderBrief " ></a >
225
+
226
+ ### dafPageEvent.renderBrief([ locale] ) ⇒ <code >string</code >
227
+ Returns Daf Yomi name without the 'Daf Yomi: ' prefix (e.g. "Pesachim 107").
228
+
229
+ ** Kind** : instance method of [ <code >DafPageEvent</code >] ( #DafPageEvent )
230
+
231
+ | Param | Type | Description |
232
+ | --- | --- | --- |
233
+ | [ locale] | <code >string</code > | Optional locale name (defaults to active locale). |
234
+
235
+ <a name =" DafPageEvent+url " ></a >
236
+
237
+ ### dafPageEvent.url() ⇒ <code >string</code >
238
+ Returns a link to sefaria.org or dafyomi.org
239
+
240
+ ** Kind** : instance method of [ <code >DafPageEvent</code >] ( #DafPageEvent )
159
241
<a name =" DafYomiEvent " ></a >
160
242
161
243
## DafYomiEvent
@@ -166,8 +248,6 @@ Event wrapper around a DafYomi instance
166
248
* [ DafYomiEvent] ( #DafYomiEvent )
167
249
* [ new DafYomiEvent(date)] ( #new_DafYomiEvent_new )
168
250
* [ .render([ locale] )] ( #DafYomiEvent+render ) ⇒ <code >string</code >
169
- * [ .renderBrief([ locale] )] ( #DafYomiEvent+renderBrief ) ⇒ <code >string</code >
170
- * [ .url()] ( #DafYomiEvent+url ) ⇒ <code >string</code >
171
251
* [ .getCategories()] ( #DafYomiEvent+getCategories ) ⇒ <code >Array.< ; string> ; </code >
172
252
173
253
<a name =" new_DafYomiEvent_new " ></a >
@@ -189,23 +269,6 @@ Returns Daf Yomi name including the 'Daf Yomi: ' prefix (e.g. "Daf Yomi: Pesachi
189
269
| --- | --- | --- |
190
270
| [ locale] | <code >string</code > | Optional locale name (defaults to active locale). |
191
271
192
- <a name =" DafYomiEvent+renderBrief " ></a >
193
-
194
- ### dafYomiEvent.renderBrief([ locale] ) ⇒ <code >string</code >
195
- Returns Daf Yomi name without the 'Daf Yomi: ' prefix (e.g. "Pesachim 107").
196
-
197
- ** Kind** : instance method of [ <code >DafYomiEvent</code >] ( #DafYomiEvent )
198
-
199
- | Param | Type | Description |
200
- | --- | --- | --- |
201
- | [ locale] | <code >string</code > | Optional locale name (defaults to active locale). |
202
-
203
- <a name =" DafYomiEvent+url " ></a >
204
-
205
- ### dafYomiEvent.url() ⇒ <code >string</code >
206
- Returns a link to sefaria.org or dafyomi.org
207
-
208
- ** Kind** : instance method of [ <code >DafYomiEvent</code >] ( #DafYomiEvent )
209
272
<a name =" DafYomiEvent+getCategories " ></a >
210
273
211
274
### dafYomiEvent.getCategories() ⇒ <code >Array.< ; string> ; </code >
@@ -587,6 +650,30 @@ Returns a link to sefaria.org
587
650
588
651
### psalmsEvent.getCategories() ⇒ <code >Array.< ; string> ; </code >
589
652
** Kind** : instance method of [ <code >PsalmsEvent</code >] ( #PsalmsEvent )
653
+ <a name =" DafWeeklyEvent " ></a >
654
+
655
+ ## DafWeeklyEvent
656
+ Event wrapper around a daily weekly
657
+
658
+ ** Kind** : global class
659
+
660
+ * [ DafWeeklyEvent] ( #DafWeeklyEvent )
661
+ * [ new DafWeeklyEvent(date, daf)] ( #new_DafWeeklyEvent_new )
662
+ * [ .getCategories()] ( #DafWeeklyEvent+getCategories ) ⇒ <code >Array.< ; string> ; </code >
663
+
664
+ <a name =" new_DafWeeklyEvent_new " ></a >
665
+
666
+ ### new DafWeeklyEvent(date, daf)
667
+
668
+ | Param | Type |
669
+ | --- | --- |
670
+ | date | <code >HDate</code > |
671
+ | daf | [ <code >DafPage</code >] ( #DafPage ) |
672
+
673
+ <a name =" DafWeeklyEvent+getCategories " ></a >
674
+
675
+ ### dafWeeklyEvent.getCategories() ⇒ <code >Array.< ; string> ; </code >
676
+ ** Kind** : instance method of [ <code >DafWeeklyEvent</code >] ( #DafWeeklyEvent )
590
677
<a name =" vilna " ></a >
591
678
592
679
## vilna
@@ -669,6 +756,17 @@ Calculates Daily Psalms (Tehillim) for 30-day cycle.
669
756
| --- | --- | --- |
670
757
| date | <code >HDate</code > \| <code >Date</code > \| <code >number</code > | Hebrew or Gregorian date |
671
758
759
+ <a name =" dafWeekly " ></a >
760
+
761
+ ## dafWeekly(date) ⇒ [ <code >DafPage</code >] ( #DafPage )
762
+ Daf-a-Week
763
+
764
+ ** Kind** : global function
765
+
766
+ | Param | Type | Description |
767
+ | --- | --- | --- |
768
+ | date | <code >HDate</code > \| <code >Date</code > \| <code >number</code > | Hebrew or Gregorian date |
769
+
672
770
<a name =" MishnaYomi " ></a >
673
771
674
772
## MishnaYomi : <code >Object</code >
0 commit comments