@hebcal/core 6.1.0 → 6.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bundle.js +203 -18
- package/dist/bundle.js.map +1 -1
- package/dist/bundle.min.js +5 -5
- package/dist/bundle.min.js.map +1 -1
- package/dist/esm/DailyLearning.js +1 -1
- package/dist/esm/HebrewDateEvent.js +1 -1
- package/dist/esm/HolidayEvent.js +1 -1
- package/dist/esm/MevarchimChodeshEvent.js +1 -1
- package/dist/esm/ParshaEvent.js +1 -1
- package/dist/esm/TimedEvent.js +1 -1
- package/dist/esm/YomKippurKatanEvent.js +1 -1
- package/dist/esm/ashkenazi.po.js +1 -1
- package/dist/esm/calendar.js +1 -1
- package/dist/esm/candles.js +1 -1
- package/dist/esm/event.js +1 -1
- package/dist/esm/getStartAndEnd.js +1 -1
- package/dist/esm/hallel.js +1 -1
- package/dist/esm/he-x-NoNikud.po.d.ts +2 -0
- package/dist/esm/he-x-NoNikud.po.js +2 -2
- package/dist/esm/he-x-NoNikud.po.js.map +1 -1
- package/dist/esm/he.po.js +2 -2
- package/dist/esm/he.po.js.map +1 -1
- package/dist/esm/hebcal.js +1 -1
- package/dist/esm/holidays.js +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/isAssurBemlacha.js +1 -1
- package/dist/esm/locale.js +1 -1
- package/dist/esm/location.js +1 -1
- package/dist/esm/modern.js +1 -1
- package/dist/esm/molad.js +1 -1
- package/dist/esm/moladBase.js +1 -1
- package/dist/esm/moladDate.js +1 -1
- package/dist/esm/omer.js +1 -1
- package/dist/esm/parshaName.js +1 -1
- package/dist/esm/parshaYear.js +1 -1
- package/dist/esm/pkgVersion.d.ts +1 -1
- package/dist/esm/pkgVersion.js +2 -2
- package/dist/esm/pkgVersion.js.map +1 -1
- package/dist/esm/reformatTimeStr.js +1 -1
- package/dist/esm/sedra.js +1 -1
- package/dist/esm/staticHolidays.js +1 -1
- package/dist/esm/tachanun.js +1 -1
- package/dist/esm/zmanim.d.ts +159 -11
- package/dist/esm/zmanim.js +200 -15
- package/dist/esm/zmanim.js.map +1 -1
- package/dist/src/he-x-NoNikud.po.d.ts +2 -0
- package/dist/src/he-x-NoNikud.po.js +1 -1
- package/dist/src/he.po.js +1 -1
- package/dist/src/pkgVersion.d.ts +1 -1
- package/dist/src/pkgVersion.js +1 -1
- package/dist/src/zmanim.d.ts +159 -11
- package/dist/src/zmanim.js +199 -14
- package/package.json +1 -1
- package/dist/CalOptions.d.ts +0 -168
- package/dist/DailyLearning.d.ts +0 -32
- package/dist/HebrewDateEvent.d.ts +0 -37
- package/dist/HolidayEvent.d.ts +0 -84
- package/dist/MevarchimChodeshEvent.d.ts +0 -26
- package/dist/ParshaEvent.d.ts +0 -19
- package/dist/TimedEvent.d.ts +0 -47
- package/dist/YomKippurKatanEvent.d.ts +0 -23
- package/dist/ashkenazi.po.d.ts +0 -82
- package/dist/calendar.d.ts +0 -111
- package/dist/candles.d.ts +0 -44
- package/dist/event.d.ts +0 -188
- package/dist/getStartAndEnd.d.ts +0 -6
- package/dist/hallel.d.ts +0 -6
- package/dist/he-x-NoNikud.po.d.ts +0 -16
- package/dist/he.po.d.ts +0 -215
- package/dist/hebcal.d.ts +0 -260
- package/dist/holidays.d.ts +0 -22
- package/dist/index.d.ts +0 -28
- package/dist/isAssurBemlacha.d.ts +0 -9
- package/dist/locale.d.ts +0 -1
- package/dist/location.d.ts +0 -73
- package/dist/modern.d.ts +0 -18
- package/dist/molad.d.ts +0 -132
- package/dist/moladBase.d.ts +0 -15
- package/dist/moladDate.d.ts +0 -12
- package/dist/omer.d.ts +0 -52
- package/dist/parshaName.d.ts +0 -2
- package/dist/parshaYear.d.ts +0 -9
- package/dist/pkgVersion.d.ts +0 -2
- package/dist/reformatTimeStr.d.ts +0 -8
- package/dist/sedra.d.ts +0 -95
- package/dist/staticHolidays.d.ts +0 -176
- package/dist/tachanun.d.ts +0 -29
- package/dist/zmanim.d.ts +0 -460
package/dist/src/zmanim.d.ts
CHANGED
|
@@ -136,12 +136,13 @@ export declare class Zmanim {
|
|
|
136
136
|
* the result is not impacted by elevation.
|
|
137
137
|
*/
|
|
138
138
|
misheyakirMachmir(): Date;
|
|
139
|
+
private getShaahZmanisBasedZmanZdt;
|
|
139
140
|
/**
|
|
140
141
|
* Utility method for using elevation-aware sunrise/sunset
|
|
141
142
|
* @private
|
|
142
143
|
* @param hours
|
|
143
144
|
*/
|
|
144
|
-
getShaahZmanisBasedZman
|
|
145
|
+
private getShaahZmanisBasedZman;
|
|
145
146
|
/**
|
|
146
147
|
* Latest Shema (Gra); Sunrise plus 3 halachic hours, according to the Gra.
|
|
147
148
|
* If elevation is enabled, this function will include elevation in the calculation.
|
|
@@ -311,7 +312,7 @@ export declare class Zmanim {
|
|
|
311
312
|
* is it the start of _Kiddush Levana_ time or the end? If it is start roll it to the next _tzais_,
|
|
312
313
|
* and if it is the end, return the end of the previous night (_alos_ passed in). Ignored if either
|
|
313
314
|
* _alos_ or _tzais_ are null.
|
|
314
|
-
* @return the _molad_ based time. If the _zman_ does not occur during the current date,
|
|
315
|
+
* @return the _molad_ based time. If the _zman_ does not occur during the current date, `null` will be
|
|
315
316
|
* returned.
|
|
316
317
|
*/
|
|
317
318
|
private getMoladBasedTime;
|
|
@@ -322,7 +323,7 @@ export declare class Zmanim {
|
|
|
322
323
|
* halfway between _molad_ and _molad_. This adds half the 29 days, 12 hours and 793 chalakim time between
|
|
323
324
|
* _molad_ and _molad_ (14 days, 18 hours, 22 minutes and 666 milliseconds) to the month's _molad_.
|
|
324
325
|
* The _sof zman Kiddush Levana_ will be returned even if it occurs during the day. To limit the time to between
|
|
325
|
-
* _tzais_ and _alos_, see {@link
|
|
326
|
+
* _tzais_ and _alos_, see {@link getSofZmanKidushLevanaBetweenMoldos}.
|
|
326
327
|
*
|
|
327
328
|
* @param alos
|
|
328
329
|
* the beginning of the Jewish day. If _Kidush Levana_ occurs during the day (starting at _alos_ and
|
|
@@ -334,7 +335,7 @@ export declare class Zmanim {
|
|
|
334
335
|
* adjustment will be made.
|
|
335
336
|
* @return the Date representing the moment halfway between molad and molad. If the time occurs between
|
|
336
337
|
* _alos_ and _tzais_, _alos_ will be returned. If the _zman_ will not occur on this
|
|
337
|
-
* day, a
|
|
338
|
+
* day, a `null` will be returned.
|
|
338
339
|
*/
|
|
339
340
|
getSofZmanKidushLevanaBetweenMoldos(alos?: Temporal.ZonedDateTime | null, tzais?: Temporal.ZonedDateTime | null): Temporal.ZonedDateTime | null;
|
|
340
341
|
/**
|
|
@@ -342,15 +343,15 @@ export declare class Zmanim {
|
|
|
342
343
|
* the Shulchan Aruch (Orach Chaim 426). It should be noted that some opinions hold that the
|
|
343
344
|
* <a href="https://en.wikipedia.org/wiki/Moses_Isserles">Rema</a> who brings down the opinion of the <a
|
|
344
345
|
* href="https://en.wikipedia.org/wiki/Yaakov_ben_Moshe_Levi_Moelin">Maharil's</a> of calculating
|
|
345
|
-
* {@link
|
|
346
|
+
* {@link getSofZmanKidushLevanaBetweenMoldos half way between _molad_ and _molad_} is of
|
|
346
347
|
* the opinion that the Mechaber agrees to his opinion. Also see the Aruch Hashulchan. For additional details on the subject,
|
|
347
348
|
* See Rabbi Dovid Heber's very detailed write-up in Siman Daled (chapter 4) of <a href="https://hebrewbooks.org/53000">Shaarei
|
|
348
349
|
* Zmanim</a>. The _sof zman Kiddush Levana_ will be returned even if it occurs during the day. To limit the time to
|
|
349
|
-
* between _tzais_ and _alos_, see {@link
|
|
350
|
+
* between _tzais_ and _alos_, see {@link getSofZmanKidushLevana15Days}.
|
|
350
351
|
*
|
|
351
352
|
* @return the Date representing the moment 15 days after the _molad_. If the time occurs between
|
|
352
353
|
* _alos_ and _tzais_, _alos_ will be returned. If the _zman_ will not occur on this day, a
|
|
353
|
-
*
|
|
354
|
+
* `null` will be returned.
|
|
354
355
|
*
|
|
355
356
|
*
|
|
356
357
|
*/
|
|
@@ -373,7 +374,7 @@ export declare class Zmanim {
|
|
|
373
374
|
*
|
|
374
375
|
* @return the Date representing the moment 3 days after the molad. If the time occurs between _alos_ and
|
|
375
376
|
* _tzais_, _tzais_ will be returned. If the _zman_ will not occur on this day, a
|
|
376
|
-
*
|
|
377
|
+
* `null` will be returned.
|
|
377
378
|
*/
|
|
378
379
|
getTchilasZmanKidushLevana3Days(alos?: Temporal.ZonedDateTime | null, tzais?: Temporal.ZonedDateTime | null): Temporal.ZonedDateTime | null;
|
|
379
380
|
/**
|
|
@@ -382,19 +383,166 @@ export declare class Zmanim {
|
|
|
382
383
|
* {@link HebrewDateFormatter} that will have formatting for this.
|
|
383
384
|
*
|
|
384
385
|
* @return the Date representing the moment of the molad. If the _molad_ does not occur on this day, a
|
|
385
|
-
*
|
|
386
|
+
* `null` will be returned.
|
|
386
387
|
*
|
|
387
388
|
*/
|
|
388
389
|
getZmanMolad(): Temporal.ZonedDateTime | null;
|
|
389
390
|
/**
|
|
390
391
|
* Returns the earliest time of _Kiddush Levana_ according to the opinions that it should not be said until 7
|
|
391
392
|
* days after the _molad_. The time will be returned even if it occurs during the day when _Kiddush Levana_
|
|
392
|
-
* can't be recited. Use {@link
|
|
393
|
+
* can't be recited. Use {@link getTchilasZmanKidushLevana7Days} if you want to limit the time to night hours.
|
|
393
394
|
*
|
|
394
395
|
* @return the Date representing the moment 7 days after the molad regardless of it is day or night. If the _zman_
|
|
395
|
-
* will not occur on this day, a
|
|
396
|
+
* will not occur on this day, a `null` will be returned.
|
|
396
397
|
*/
|
|
397
398
|
getTchilasZmanKidushLevana7Days(alos?: Temporal.ZonedDateTime | null, tzais?: Temporal.ZonedDateTime | null): Temporal.ZonedDateTime | null;
|
|
399
|
+
/**
|
|
400
|
+
* A method that returns the <a href="https://en.wikipedia.org/wiki/Shneur_Zalman_of_Liadi">Baal Hatanya</a>'s
|
|
401
|
+
* _netz amiti_ (sunrise) without
|
|
402
|
+
* elevation adjustment. This forms the base for the Baal Hatanya's dawn-based calculations that are
|
|
403
|
+
* calculated as a dip below the horizon before sunrise.
|
|
404
|
+
*
|
|
405
|
+
* According to the Baal Hatanya, _netz amiti_, or true (halachic) sunrise, is when the top of the sun's
|
|
406
|
+
* disk is visible at an elevation similar to the mountains of Eretz Yisrael. The time is calculated as the point at which
|
|
407
|
+
* the center of the sun's disk is 1.583° below the horizon. This degree-based calculation can be found in Rabbi Shalom
|
|
408
|
+
* DovBer Levine's commentary on The <a href="https://www.chabadlibrary.org/books/pdf/Seder-Hachnosas-Shabbos.pdf">Baal
|
|
409
|
+
* Hatanya's Seder Hachnasas Shabbos</a>. From an elevation of 546 meters, the top of <a href=
|
|
410
|
+
* "https://en.wikipedia.org/wiki/Mount_Carmel">Har Hacarmel</a>, the sun disappears when it is 1° 35' or 1.583°
|
|
411
|
+
* below the sea level horizon. This in turn is based on the Gemara <a href=
|
|
412
|
+
* "https://hebrewbooks.org/shas.aspx?mesechta=2&daf=35">Shabbos 35a</a>. There are other opinions brought down by
|
|
413
|
+
* Rabbi Levine, including Rabbi Yosef Yitzchok Feigelstock who calculates it as the degrees below the horizon 4 minutes after
|
|
414
|
+
* sunset in Yerushalayim (on the equinox). That is brought down as 1.583°. This is identical to the 1° 35' _zman_
|
|
415
|
+
* and is probably a typo and should be 1.683°. These calculations are used by most <a href=
|
|
416
|
+
* "https://en.wikipedia.org/wiki/Chabad">Chabad</a> calendars that use the Baal Hatanya's _zmanim_. See
|
|
417
|
+
* <a href="https://www.chabad.org/library/article_cdo/aid/3209349/jewish/About-Our-Zmanim-Calculations.htm">About Our
|
|
418
|
+
* _Zmanim_ Calculations @ Chabad.org</a>.
|
|
419
|
+
*
|
|
420
|
+
* Note: _netz amiti_ is used only for calculating certain _zmanim_, and is intentionally unpublished. For
|
|
421
|
+
* practical purposes, daytime _mitzvos_ like _shofar_ and _lulav_ should not be done until after the
|
|
422
|
+
* published time for _netz_ / sunrise.
|
|
423
|
+
*
|
|
424
|
+
* @return the <code>Date</code> representing the exact sea level _netz amiti_ (sunrise) time. If the calculation can't be
|
|
425
|
+
* computed such as in the Arctic Circle where there is at least one day a year where the sun does not rise, and one
|
|
426
|
+
* where it does not set, a `null` will be returned. See detailed explanation on top of the page.
|
|
427
|
+
*
|
|
428
|
+
* @see ZENITH_1_POINT_583
|
|
429
|
+
*/
|
|
430
|
+
private getSunriseBaalHatanya;
|
|
431
|
+
/**
|
|
432
|
+
* A method that returns the <a href="https://en.wikipedia.org/wiki/Shneur_Zalman_of_Liadi">Baal Hatanya</a>'s
|
|
433
|
+
* _shkiah amiti_ (sunset) without
|
|
434
|
+
* elevation adjustment. This forms the base for the Baal Hatanya's dusk-based calculations that are calculated
|
|
435
|
+
* as a dip below the horizon after sunset.
|
|
436
|
+
*
|
|
437
|
+
* According to the Baal Hatanya, _shkiah amiti_, true (_halachic_) sunset, is when the top of the
|
|
438
|
+
* sun's disk disappears from view at an elevation similar to the mountains of _Eretz Yisrael_.
|
|
439
|
+
* This time is calculated as the point at which the center of the sun's disk is 1.583 degrees below the horizon.
|
|
440
|
+
*
|
|
441
|
+
* Note: _shkiah amiti_ is used only for calculating certain _zmanim_, and is intentionally unpublished. For
|
|
442
|
+
* practical purposes, all daytime mitzvos should be completed before the published time for _shkiah_ / sunset.
|
|
443
|
+
*
|
|
444
|
+
* For further explanation of the calculations used for the Baal Hatanya's _zmanim_ in this library, see
|
|
445
|
+
* <a href="https://www.chabad.org/library/article_cdo/aid/3209349/jewish/About-Our-Zmanim-Calculations.htm">About Our
|
|
446
|
+
* _Zmanim_ Calculations @ Chabad.org</a>.
|
|
447
|
+
*
|
|
448
|
+
* @return the <code>Date</code> representing the exact sea level _shkiah amiti_ (sunset) time. If the calculation
|
|
449
|
+
* can't be computed such as in the Arctic Circle where there is at least one day a year where the sun does not
|
|
450
|
+
* rise, and one where it does not set, a `null` will be returned.
|
|
451
|
+
*
|
|
452
|
+
* @see ZENITH_1_POINT_583
|
|
453
|
+
*/
|
|
454
|
+
private getSunsetBaalHatanya;
|
|
455
|
+
/**
|
|
456
|
+
* Returns the <a href="https://en.wikipedia.org/wiki/Shneur_Zalman_of_Liadi">Baal Hatanya</a>'s _alos_
|
|
457
|
+
* (dawn) calculated as the time when the sun is 16.9° below the eastern {@link GEOMETRIC_ZENITH geometric horizon}
|
|
458
|
+
* before {@link getSunrise() sunrise}.
|
|
459
|
+
*
|
|
460
|
+
* The zenith of 16.9° below is based on the calculation that the time between dawn
|
|
461
|
+
* and <em>netz amiti</em> (sunrise) is 72 minutes, the time that is takes to walk 4 mil at 18 minutes
|
|
462
|
+
* a mil (<a href="https://en.wikipedia.org/wiki/Maimonides">Rambam</a> and others). The sun's position at 72
|
|
463
|
+
* minutes before {@link getSunriseBaalHatanya <em>netz amiti</em> (sunrise)} in Jerusalem <a href=
|
|
464
|
+
* "https://kosherjava.com/2022/01/12/equinox-vs-equilux-zmanim-calculations/">around the equinox / equilux</a> is
|
|
465
|
+
* 16.9° below {@link GEOMETRIC_ZENITH geometric zenith}.
|
|
466
|
+
*
|
|
467
|
+
* @return The <code>Date</code> of dawn. If the calculation can't be computed such as northern and southern
|
|
468
|
+
* locations even south of the Arctic Circle and north of the Antarctic Circle where the sun may not reach
|
|
469
|
+
* low enough below the horizon for this calculation, a `null` will be returned. */
|
|
470
|
+
alosBaalHatanya(): Date;
|
|
471
|
+
private getShaahZmanisBaalHatanya;
|
|
472
|
+
/**
|
|
473
|
+
* This method returns the latest _zman krias shema_ (time to recite Shema in the morning). This time is 3
|
|
474
|
+
* {@link shaahZmanisBaalHatanya() _shaos zmaniyos_} (solar hours) after {@link getSunriseBaalHatanya()
|
|
475
|
+
* _netz amiti_ (sunrise)} based on the opinion of the Baal Hatanya that the day is calculated from
|
|
476
|
+
* sunrise to sunset. This returns the time 3 * {@link getShaahZmanisBaalHatanya()} after {@link getSunriseBaalHatanya()
|
|
477
|
+
* _netz amiti_ (sunrise)}.
|
|
478
|
+
*
|
|
479
|
+
* @return the <code>Date</code> of the latest _zman shema_ according to the Baal Hatanya. If the calculation
|
|
480
|
+
* can't be computed such as in the Arctic Circle where there is at least one day a year where the sun does
|
|
481
|
+
* not rise, and one where it does not set, a `null` will be returned.
|
|
482
|
+
*/
|
|
483
|
+
sofZmanShmaBaalHatanya(): Date;
|
|
484
|
+
/**
|
|
485
|
+
* This method returns the latest _zman tfilah_ (time to recite the morning prayers). This time is 4
|
|
486
|
+
* hours into the day based on the opinion of the Baal Hatanya that the day is
|
|
487
|
+
* calculated from sunrise to sunset. This returns the time 4 * {@link getShaahZmanisBaalHatanya()} after
|
|
488
|
+
* {@link getSunriseBaalHatanya() _netz amiti_ (sunrise)}.
|
|
489
|
+
*
|
|
490
|
+
* @return the <code>Date</code> of the latest _zman tfilah_. If the calculation can't be computed such as in
|
|
491
|
+
* the Arctic Circle where there is at least one day a year where the sun does not rise, and one where it does
|
|
492
|
+
* not set, a `null` will be returned.
|
|
493
|
+
*/
|
|
494
|
+
sofZmanTfilaBaalHatanya(): Date;
|
|
495
|
+
/**
|
|
496
|
+
* This method returns the time of _mincha gedola_. _Mincha gedola_ is the earliest time one can pray
|
|
497
|
+
* _mincha_. The <a href="https://en.wikipedia.org/wiki/Maimonides">Rambam</a> is of the opinion that it is
|
|
498
|
+
* better to delay _mincha_ until {@link minchaKetanaBaalHatanya() _mincha ketana_} while the
|
|
499
|
+
* <a href="https://en.wikipedia.org/wiki/Asher_ben_Jehiel">Ra"sh</a>,
|
|
500
|
+
* <a href="https://en.wikipedia.org/wiki/Jacob_ben_Asher">Tur</a>, <a href=
|
|
501
|
+
* "https://en.wikipedia.org/wiki/Vilna_Gaon">GRA</a> and others are of the opinion that _mincha_ can be prayed
|
|
502
|
+
* _lechatchila_ starting at _mincha gedola_. This is calculated as 6.5 {@link getShaahZmanisBaalHatanya()
|
|
503
|
+
* sea level solar hours} after {@link getSunriseBaalHatanya() _netz amiti_ (sunrise)}. This calculation is based
|
|
504
|
+
* on the opinion of the Baal Hatanya that the day is calculated from sunrise to sunset. This returns the time 6.5
|
|
505
|
+
* * {@link getShaahZmanisBaalHatanya()} after {@link getSunriseBaalHatanya() _netz amiti_ ("real" sunrise)}.
|
|
506
|
+
* @return the <code>Date</code> of the time of _mincha gedola_ according to the Baal Hatanya. If the calculation
|
|
507
|
+
* can't be computed such as in the Arctic Circle where there is at least one day a year where the sun does not rise,
|
|
508
|
+
* and one where it does not set, a `null` will be returned.
|
|
509
|
+
*/
|
|
510
|
+
minchaGedolaBaalHatanya(): Date;
|
|
511
|
+
/**
|
|
512
|
+
* This method returns the time of _mincha ketana_. This is the preferred earliest time to pray
|
|
513
|
+
* _mincha_ in the opinion of the <a href="https://en.wikipedia.org/wiki/Maimonides">Rambam</a> and others.
|
|
514
|
+
* For more information on this see the documentation on {@link minchaGedolaBaalHatanya() _mincha gedola_}.
|
|
515
|
+
* This is calculated as 9.5 sea level solar hours after {@link getSunriseBaalHatanya
|
|
516
|
+
* _netz amiti_ (sunrise)}. This calculation is calculated based on the opinion of the Baal Hatanya that the
|
|
517
|
+
* day is calculated from sunrise to sunset. This returns the time 9.5 * after
|
|
518
|
+
* _netz amiti_ (sunrise).
|
|
519
|
+
*
|
|
520
|
+
* @return the <code>Date</code> of the time of _mincha ketana_. If the calculation can't be computed such as
|
|
521
|
+
* in the Arctic Circle where there is at least one day a year where the sun does not rise, and one where it
|
|
522
|
+
* does not set, a `null` will be returned.
|
|
523
|
+
*/
|
|
524
|
+
minchaKetanaBaalHatanya(): Date;
|
|
525
|
+
/**
|
|
526
|
+
* This method returns the time of _plag hamincha_. This is calculated as 10.75 hours after sunrise. This
|
|
527
|
+
* calculation is based on the opinion of the Baal Hatanya that the day is calculated
|
|
528
|
+
* from sunrise to sunset. This returns the time 10.75 * {@link getShaahZmanisBaalHatanya()} after
|
|
529
|
+
* {@link getSunriseBaalHatanya() _netz amiti_ (sunrise)}.
|
|
530
|
+
*
|
|
531
|
+
* @return the <code>Date</code> of the time of _plag hamincha_. If the calculation can't be computed such as
|
|
532
|
+
* in the Arctic Circle where there is at least one day a year where the sun does not rise, and one where it
|
|
533
|
+
* does not set, a `null` will be returned.
|
|
534
|
+
*/
|
|
535
|
+
plagHaminchaBaalHatanya(): Date;
|
|
536
|
+
/**
|
|
537
|
+
* A method that returns _tzais_ (nightfall) when the sun is 6° below the western geometric horizon
|
|
538
|
+
* (90°) after {@link getSunset() sunset}. For information on the source of this calculation see
|
|
539
|
+
* {@link ZENITH_6_DEGREES}.
|
|
540
|
+
*
|
|
541
|
+
* @return The <code>Date</code> of nightfall. If the calculation can't be computed such as northern and southern
|
|
542
|
+
* locations even south of the Arctic Circle and north of the Antarctic Circle where the sun may not reach
|
|
543
|
+
* low enough below the horizon for this calculation, a `null` will be returned. * @see ZENITH_6_DEGREES
|
|
544
|
+
*/
|
|
545
|
+
tzaisBaalHatanya(): Date;
|
|
398
546
|
/**
|
|
399
547
|
* Uses timeFormat to return a date like '20:34'.
|
|
400
548
|
* Returns `XX:XX` if the date is invalid.
|
package/dist/src/zmanim.js
CHANGED
|
@@ -20,6 +20,19 @@ function getDate(date) {
|
|
|
20
20
|
return date.greg();
|
|
21
21
|
throw new TypeError(`invalid date: ${date}`);
|
|
22
22
|
}
|
|
23
|
+
/**
|
|
24
|
+
* The zenith of astronomical sunrise and sunset. The sun is 90° from the vertical 0°
|
|
25
|
+
*/
|
|
26
|
+
const GEOMETRIC_ZENITH = 90;
|
|
27
|
+
/**
|
|
28
|
+
* The zenith of 1.583° below {@link GEOMETRIC_ZENITH geometric zenith} (90°). This calculation is used for
|
|
29
|
+
* calculating _netz amiti_ (sunrise) and _shkiah amiti_ (sunset) based on the opinion of the
|
|
30
|
+
* <a href="https://en.wikipedia.org/wiki/Shneur_Zalman_of_Liadi">Baal Hatanya</a>.
|
|
31
|
+
*
|
|
32
|
+
* @see Zmanim.sunriseBaalHatanya()
|
|
33
|
+
* @see Zmanim.sunsetBaalHatanya()
|
|
34
|
+
*/
|
|
35
|
+
const ZENITH_1_POINT_583 = GEOMETRIC_ZENITH + 1.583;
|
|
23
36
|
/**
|
|
24
37
|
* Calculate halachic times (zmanim / זְמַנִּים) for a given day and location.
|
|
25
38
|
* Calculations are available for tzeit / tzais (nightfall),
|
|
@@ -95,7 +108,7 @@ export class Zmanim {
|
|
|
95
108
|
* @param rising
|
|
96
109
|
*/
|
|
97
110
|
timeAtAngle(angle, rising) {
|
|
98
|
-
const offsetZenith =
|
|
111
|
+
const offsetZenith = GEOMETRIC_ZENITH + angle;
|
|
99
112
|
const zdt = rising
|
|
100
113
|
? this.noaa.getSunriseOffsetByDegrees(offsetZenith)
|
|
101
114
|
: this.noaa.getSunsetOffsetByDegrees(offsetZenith);
|
|
@@ -227,6 +240,12 @@ export class Zmanim {
|
|
|
227
240
|
misheyakirMachmir() {
|
|
228
241
|
return this.timeAtAngle(10.2, true);
|
|
229
242
|
}
|
|
243
|
+
getShaahZmanisBasedZmanZdt(startOfDay, endOfDay, hours) {
|
|
244
|
+
const temporalHour = this.noaa.getTemporalHour(startOfDay, endOfDay);
|
|
245
|
+
const offset = Math.trunc(temporalHour * hours);
|
|
246
|
+
const zdt = NOAACalculator.getTimeOffset(startOfDay, offset);
|
|
247
|
+
return zdt;
|
|
248
|
+
}
|
|
230
249
|
/**
|
|
231
250
|
* Utility method for using elevation-aware sunrise/sunset
|
|
232
251
|
* @private
|
|
@@ -239,9 +258,7 @@ export class Zmanim {
|
|
|
239
258
|
const endOfDay = this.useElevation
|
|
240
259
|
? this.noaa.getSunset()
|
|
241
260
|
: this.noaa.getSeaLevelSunset();
|
|
242
|
-
const
|
|
243
|
-
const offset = Math.round(temporalHour * hours);
|
|
244
|
-
const zdt = NOAACalculator.getTimeOffset(startOfDay, offset);
|
|
261
|
+
const zdt = this.getShaahZmanisBasedZmanZdt(startOfDay, endOfDay, hours);
|
|
245
262
|
return zdtToDate(zdt);
|
|
246
263
|
}
|
|
247
264
|
/**
|
|
@@ -498,7 +515,7 @@ export class Zmanim {
|
|
|
498
515
|
* is it the start of _Kiddush Levana_ time or the end? If it is start roll it to the next _tzais_,
|
|
499
516
|
* and if it is the end, return the end of the previous night (_alos_ passed in). Ignored if either
|
|
500
517
|
* _alos_ or _tzais_ are null.
|
|
501
|
-
* @return the _molad_ based time. If the _zman_ does not occur during the current date,
|
|
518
|
+
* @return the _molad_ based time. If the _zman_ does not occur during the current date, `null` will be
|
|
502
519
|
* returned.
|
|
503
520
|
*/
|
|
504
521
|
getMoladBasedTime(moladBasedTime, alos, tzais, techila) {
|
|
@@ -530,7 +547,7 @@ export class Zmanim {
|
|
|
530
547
|
* halfway between _molad_ and _molad_. This adds half the 29 days, 12 hours and 793 chalakim time between
|
|
531
548
|
* _molad_ and _molad_ (14 days, 18 hours, 22 minutes and 666 milliseconds) to the month's _molad_.
|
|
532
549
|
* The _sof zman Kiddush Levana_ will be returned even if it occurs during the day. To limit the time to between
|
|
533
|
-
* _tzais_ and _alos_, see {@link
|
|
550
|
+
* _tzais_ and _alos_, see {@link getSofZmanKidushLevanaBetweenMoldos}.
|
|
534
551
|
*
|
|
535
552
|
* @param alos
|
|
536
553
|
* the beginning of the Jewish day. If _Kidush Levana_ occurs during the day (starting at _alos_ and
|
|
@@ -542,7 +559,7 @@ export class Zmanim {
|
|
|
542
559
|
* adjustment will be made.
|
|
543
560
|
* @return the Date representing the moment halfway between molad and molad. If the time occurs between
|
|
544
561
|
* _alos_ and _tzais_, _alos_ will be returned. If the _zman_ will not occur on this
|
|
545
|
-
* day, a
|
|
562
|
+
* day, a `null` will be returned.
|
|
546
563
|
*/
|
|
547
564
|
getSofZmanKidushLevanaBetweenMoldos(alos = null, tzais = null) {
|
|
548
565
|
const hd = this.getHDate();
|
|
@@ -561,15 +578,15 @@ export class Zmanim {
|
|
|
561
578
|
* the Shulchan Aruch (Orach Chaim 426). It should be noted that some opinions hold that the
|
|
562
579
|
* <a href="https://en.wikipedia.org/wiki/Moses_Isserles">Rema</a> who brings down the opinion of the <a
|
|
563
580
|
* href="https://en.wikipedia.org/wiki/Yaakov_ben_Moshe_Levi_Moelin">Maharil's</a> of calculating
|
|
564
|
-
* {@link
|
|
581
|
+
* {@link getSofZmanKidushLevanaBetweenMoldos half way between _molad_ and _molad_} is of
|
|
565
582
|
* the opinion that the Mechaber agrees to his opinion. Also see the Aruch Hashulchan. For additional details on the subject,
|
|
566
583
|
* See Rabbi Dovid Heber's very detailed write-up in Siman Daled (chapter 4) of <a href="https://hebrewbooks.org/53000">Shaarei
|
|
567
584
|
* Zmanim</a>. The _sof zman Kiddush Levana_ will be returned even if it occurs during the day. To limit the time to
|
|
568
|
-
* between _tzais_ and _alos_, see {@link
|
|
585
|
+
* between _tzais_ and _alos_, see {@link getSofZmanKidushLevana15Days}.
|
|
569
586
|
*
|
|
570
587
|
* @return the Date representing the moment 15 days after the _molad_. If the time occurs between
|
|
571
588
|
* _alos_ and _tzais_, _alos_ will be returned. If the _zman_ will not occur on this day, a
|
|
572
|
-
*
|
|
589
|
+
* `null` will be returned.
|
|
573
590
|
*
|
|
574
591
|
*
|
|
575
592
|
*/
|
|
@@ -603,7 +620,7 @@ export class Zmanim {
|
|
|
603
620
|
*
|
|
604
621
|
* @return the Date representing the moment 3 days after the molad. If the time occurs between _alos_ and
|
|
605
622
|
* _tzais_, _tzais_ will be returned. If the _zman_ will not occur on this day, a
|
|
606
|
-
*
|
|
623
|
+
* `null` will be returned.
|
|
607
624
|
*/
|
|
608
625
|
getTchilasZmanKidushLevana3Days(alos = null, tzais = null) {
|
|
609
626
|
const hd = this.getHDate();
|
|
@@ -632,7 +649,7 @@ export class Zmanim {
|
|
|
632
649
|
* {@link HebrewDateFormatter} that will have formatting for this.
|
|
633
650
|
*
|
|
634
651
|
* @return the Date representing the moment of the molad. If the _molad_ does not occur on this day, a
|
|
635
|
-
*
|
|
652
|
+
* `null` will be returned.
|
|
636
653
|
*
|
|
637
654
|
*/
|
|
638
655
|
getZmanMolad() {
|
|
@@ -656,10 +673,10 @@ export class Zmanim {
|
|
|
656
673
|
/**
|
|
657
674
|
* Returns the earliest time of _Kiddush Levana_ according to the opinions that it should not be said until 7
|
|
658
675
|
* days after the _molad_. The time will be returned even if it occurs during the day when _Kiddush Levana_
|
|
659
|
-
* can't be recited. Use {@link
|
|
676
|
+
* can't be recited. Use {@link getTchilasZmanKidushLevana7Days} if you want to limit the time to night hours.
|
|
660
677
|
*
|
|
661
678
|
* @return the Date representing the moment 7 days after the molad regardless of it is day or night. If the _zman_
|
|
662
|
-
* will not occur on this day, a
|
|
679
|
+
* will not occur on this day, a `null` will be returned.
|
|
663
680
|
*/
|
|
664
681
|
getTchilasZmanKidushLevana7Days(alos = null, tzais = null) {
|
|
665
682
|
const hd = this.getHDate();
|
|
@@ -674,6 +691,174 @@ export class Zmanim {
|
|
|
674
691
|
const molad = new Molad(hd.getFullYear(), hd.getMonth());
|
|
675
692
|
return this.getMoladBasedTime(molad.getTchilasZmanKidushLevana7Days(), alos, tzais, true);
|
|
676
693
|
}
|
|
694
|
+
/**
|
|
695
|
+
* A method that returns the <a href="https://en.wikipedia.org/wiki/Shneur_Zalman_of_Liadi">Baal Hatanya</a>'s
|
|
696
|
+
* _netz amiti_ (sunrise) without
|
|
697
|
+
* elevation adjustment. This forms the base for the Baal Hatanya's dawn-based calculations that are
|
|
698
|
+
* calculated as a dip below the horizon before sunrise.
|
|
699
|
+
*
|
|
700
|
+
* According to the Baal Hatanya, _netz amiti_, or true (halachic) sunrise, is when the top of the sun's
|
|
701
|
+
* disk is visible at an elevation similar to the mountains of Eretz Yisrael. The time is calculated as the point at which
|
|
702
|
+
* the center of the sun's disk is 1.583° below the horizon. This degree-based calculation can be found in Rabbi Shalom
|
|
703
|
+
* DovBer Levine's commentary on The <a href="https://www.chabadlibrary.org/books/pdf/Seder-Hachnosas-Shabbos.pdf">Baal
|
|
704
|
+
* Hatanya's Seder Hachnasas Shabbos</a>. From an elevation of 546 meters, the top of <a href=
|
|
705
|
+
* "https://en.wikipedia.org/wiki/Mount_Carmel">Har Hacarmel</a>, the sun disappears when it is 1° 35' or 1.583°
|
|
706
|
+
* below the sea level horizon. This in turn is based on the Gemara <a href=
|
|
707
|
+
* "https://hebrewbooks.org/shas.aspx?mesechta=2&daf=35">Shabbos 35a</a>. There are other opinions brought down by
|
|
708
|
+
* Rabbi Levine, including Rabbi Yosef Yitzchok Feigelstock who calculates it as the degrees below the horizon 4 minutes after
|
|
709
|
+
* sunset in Yerushalayim (on the equinox). That is brought down as 1.583°. This is identical to the 1° 35' _zman_
|
|
710
|
+
* and is probably a typo and should be 1.683°. These calculations are used by most <a href=
|
|
711
|
+
* "https://en.wikipedia.org/wiki/Chabad">Chabad</a> calendars that use the Baal Hatanya's _zmanim_. See
|
|
712
|
+
* <a href="https://www.chabad.org/library/article_cdo/aid/3209349/jewish/About-Our-Zmanim-Calculations.htm">About Our
|
|
713
|
+
* _Zmanim_ Calculations @ Chabad.org</a>.
|
|
714
|
+
*
|
|
715
|
+
* Note: _netz amiti_ is used only for calculating certain _zmanim_, and is intentionally unpublished. For
|
|
716
|
+
* practical purposes, daytime _mitzvos_ like _shofar_ and _lulav_ should not be done until after the
|
|
717
|
+
* published time for _netz_ / sunrise.
|
|
718
|
+
*
|
|
719
|
+
* @return the <code>Date</code> representing the exact sea level _netz amiti_ (sunrise) time. If the calculation can't be
|
|
720
|
+
* computed such as in the Arctic Circle where there is at least one day a year where the sun does not rise, and one
|
|
721
|
+
* where it does not set, a `null` will be returned. See detailed explanation on top of the page.
|
|
722
|
+
*
|
|
723
|
+
* @see ZENITH_1_POINT_583
|
|
724
|
+
*/
|
|
725
|
+
getSunriseBaalHatanya() {
|
|
726
|
+
return this.noaa.getSunriseOffsetByDegrees(ZENITH_1_POINT_583);
|
|
727
|
+
}
|
|
728
|
+
/**
|
|
729
|
+
* A method that returns the <a href="https://en.wikipedia.org/wiki/Shneur_Zalman_of_Liadi">Baal Hatanya</a>'s
|
|
730
|
+
* _shkiah amiti_ (sunset) without
|
|
731
|
+
* elevation adjustment. This forms the base for the Baal Hatanya's dusk-based calculations that are calculated
|
|
732
|
+
* as a dip below the horizon after sunset.
|
|
733
|
+
*
|
|
734
|
+
* According to the Baal Hatanya, _shkiah amiti_, true (_halachic_) sunset, is when the top of the
|
|
735
|
+
* sun's disk disappears from view at an elevation similar to the mountains of _Eretz Yisrael_.
|
|
736
|
+
* This time is calculated as the point at which the center of the sun's disk is 1.583 degrees below the horizon.
|
|
737
|
+
*
|
|
738
|
+
* Note: _shkiah amiti_ is used only for calculating certain _zmanim_, and is intentionally unpublished. For
|
|
739
|
+
* practical purposes, all daytime mitzvos should be completed before the published time for _shkiah_ / sunset.
|
|
740
|
+
*
|
|
741
|
+
* For further explanation of the calculations used for the Baal Hatanya's _zmanim_ in this library, see
|
|
742
|
+
* <a href="https://www.chabad.org/library/article_cdo/aid/3209349/jewish/About-Our-Zmanim-Calculations.htm">About Our
|
|
743
|
+
* _Zmanim_ Calculations @ Chabad.org</a>.
|
|
744
|
+
*
|
|
745
|
+
* @return the <code>Date</code> representing the exact sea level _shkiah amiti_ (sunset) time. If the calculation
|
|
746
|
+
* can't be computed such as in the Arctic Circle where there is at least one day a year where the sun does not
|
|
747
|
+
* rise, and one where it does not set, a `null` will be returned.
|
|
748
|
+
*
|
|
749
|
+
* @see ZENITH_1_POINT_583
|
|
750
|
+
*/
|
|
751
|
+
getSunsetBaalHatanya() {
|
|
752
|
+
return this.noaa.getSunsetOffsetByDegrees(ZENITH_1_POINT_583);
|
|
753
|
+
}
|
|
754
|
+
/**
|
|
755
|
+
* Returns the <a href="https://en.wikipedia.org/wiki/Shneur_Zalman_of_Liadi">Baal Hatanya</a>'s _alos_
|
|
756
|
+
* (dawn) calculated as the time when the sun is 16.9° below the eastern {@link GEOMETRIC_ZENITH geometric horizon}
|
|
757
|
+
* before {@link getSunrise() sunrise}.
|
|
758
|
+
*
|
|
759
|
+
* The zenith of 16.9° below is based on the calculation that the time between dawn
|
|
760
|
+
* and <em>netz amiti</em> (sunrise) is 72 minutes, the time that is takes to walk 4 mil at 18 minutes
|
|
761
|
+
* a mil (<a href="https://en.wikipedia.org/wiki/Maimonides">Rambam</a> and others). The sun's position at 72
|
|
762
|
+
* minutes before {@link getSunriseBaalHatanya <em>netz amiti</em> (sunrise)} in Jerusalem <a href=
|
|
763
|
+
* "https://kosherjava.com/2022/01/12/equinox-vs-equilux-zmanim-calculations/">around the equinox / equilux</a> is
|
|
764
|
+
* 16.9° below {@link GEOMETRIC_ZENITH geometric zenith}.
|
|
765
|
+
*
|
|
766
|
+
* @return The <code>Date</code> of dawn. If the calculation can't be computed such as northern and southern
|
|
767
|
+
* locations even south of the Arctic Circle and north of the Antarctic Circle where the sun may not reach
|
|
768
|
+
* low enough below the horizon for this calculation, a `null` will be returned. */
|
|
769
|
+
alosBaalHatanya() {
|
|
770
|
+
return this.timeAtAngle(16.9, true);
|
|
771
|
+
}
|
|
772
|
+
getShaahZmanisBaalHatanya(hours) {
|
|
773
|
+
const zdt = this.getShaahZmanisBasedZmanZdt(this.getSunriseBaalHatanya(), this.getSunsetBaalHatanya(), hours);
|
|
774
|
+
return zdtToDate(zdt);
|
|
775
|
+
}
|
|
776
|
+
/**
|
|
777
|
+
* This method returns the latest _zman krias shema_ (time to recite Shema in the morning). This time is 3
|
|
778
|
+
* {@link shaahZmanisBaalHatanya() _shaos zmaniyos_} (solar hours) after {@link getSunriseBaalHatanya()
|
|
779
|
+
* _netz amiti_ (sunrise)} based on the opinion of the Baal Hatanya that the day is calculated from
|
|
780
|
+
* sunrise to sunset. This returns the time 3 * {@link getShaahZmanisBaalHatanya()} after {@link getSunriseBaalHatanya()
|
|
781
|
+
* _netz amiti_ (sunrise)}.
|
|
782
|
+
*
|
|
783
|
+
* @return the <code>Date</code> of the latest _zman shema_ according to the Baal Hatanya. If the calculation
|
|
784
|
+
* can't be computed such as in the Arctic Circle where there is at least one day a year where the sun does
|
|
785
|
+
* not rise, and one where it does not set, a `null` will be returned.
|
|
786
|
+
*/
|
|
787
|
+
sofZmanShmaBaalHatanya() {
|
|
788
|
+
return this.getShaahZmanisBaalHatanya(3);
|
|
789
|
+
}
|
|
790
|
+
/**
|
|
791
|
+
* This method returns the latest _zman tfilah_ (time to recite the morning prayers). This time is 4
|
|
792
|
+
* hours into the day based on the opinion of the Baal Hatanya that the day is
|
|
793
|
+
* calculated from sunrise to sunset. This returns the time 4 * {@link getShaahZmanisBaalHatanya()} after
|
|
794
|
+
* {@link getSunriseBaalHatanya() _netz amiti_ (sunrise)}.
|
|
795
|
+
*
|
|
796
|
+
* @return the <code>Date</code> of the latest _zman tfilah_. If the calculation can't be computed such as in
|
|
797
|
+
* the Arctic Circle where there is at least one day a year where the sun does not rise, and one where it does
|
|
798
|
+
* not set, a `null` will be returned.
|
|
799
|
+
*/
|
|
800
|
+
sofZmanTfilaBaalHatanya() {
|
|
801
|
+
return this.getShaahZmanisBaalHatanya(4);
|
|
802
|
+
}
|
|
803
|
+
/**
|
|
804
|
+
* This method returns the time of _mincha gedola_. _Mincha gedola_ is the earliest time one can pray
|
|
805
|
+
* _mincha_. The <a href="https://en.wikipedia.org/wiki/Maimonides">Rambam</a> is of the opinion that it is
|
|
806
|
+
* better to delay _mincha_ until {@link minchaKetanaBaalHatanya() _mincha ketana_} while the
|
|
807
|
+
* <a href="https://en.wikipedia.org/wiki/Asher_ben_Jehiel">Ra"sh</a>,
|
|
808
|
+
* <a href="https://en.wikipedia.org/wiki/Jacob_ben_Asher">Tur</a>, <a href=
|
|
809
|
+
* "https://en.wikipedia.org/wiki/Vilna_Gaon">GRA</a> and others are of the opinion that _mincha_ can be prayed
|
|
810
|
+
* _lechatchila_ starting at _mincha gedola_. This is calculated as 6.5 {@link getShaahZmanisBaalHatanya()
|
|
811
|
+
* sea level solar hours} after {@link getSunriseBaalHatanya() _netz amiti_ (sunrise)}. This calculation is based
|
|
812
|
+
* on the opinion of the Baal Hatanya that the day is calculated from sunrise to sunset. This returns the time 6.5
|
|
813
|
+
* * {@link getShaahZmanisBaalHatanya()} after {@link getSunriseBaalHatanya() _netz amiti_ ("real" sunrise)}.
|
|
814
|
+
* @return the <code>Date</code> of the time of _mincha gedola_ according to the Baal Hatanya. If the calculation
|
|
815
|
+
* can't be computed such as in the Arctic Circle where there is at least one day a year where the sun does not rise,
|
|
816
|
+
* and one where it does not set, a `null` will be returned.
|
|
817
|
+
*/
|
|
818
|
+
minchaGedolaBaalHatanya() {
|
|
819
|
+
return this.getShaahZmanisBaalHatanya(6.5);
|
|
820
|
+
}
|
|
821
|
+
/**
|
|
822
|
+
* This method returns the time of _mincha ketana_. This is the preferred earliest time to pray
|
|
823
|
+
* _mincha_ in the opinion of the <a href="https://en.wikipedia.org/wiki/Maimonides">Rambam</a> and others.
|
|
824
|
+
* For more information on this see the documentation on {@link minchaGedolaBaalHatanya() _mincha gedola_}.
|
|
825
|
+
* This is calculated as 9.5 sea level solar hours after {@link getSunriseBaalHatanya
|
|
826
|
+
* _netz amiti_ (sunrise)}. This calculation is calculated based on the opinion of the Baal Hatanya that the
|
|
827
|
+
* day is calculated from sunrise to sunset. This returns the time 9.5 * after
|
|
828
|
+
* _netz amiti_ (sunrise).
|
|
829
|
+
*
|
|
830
|
+
* @return the <code>Date</code> of the time of _mincha ketana_. If the calculation can't be computed such as
|
|
831
|
+
* in the Arctic Circle where there is at least one day a year where the sun does not rise, and one where it
|
|
832
|
+
* does not set, a `null` will be returned.
|
|
833
|
+
*/
|
|
834
|
+
minchaKetanaBaalHatanya() {
|
|
835
|
+
return this.getShaahZmanisBaalHatanya(9.5);
|
|
836
|
+
}
|
|
837
|
+
/**
|
|
838
|
+
* This method returns the time of _plag hamincha_. This is calculated as 10.75 hours after sunrise. This
|
|
839
|
+
* calculation is based on the opinion of the Baal Hatanya that the day is calculated
|
|
840
|
+
* from sunrise to sunset. This returns the time 10.75 * {@link getShaahZmanisBaalHatanya()} after
|
|
841
|
+
* {@link getSunriseBaalHatanya() _netz amiti_ (sunrise)}.
|
|
842
|
+
*
|
|
843
|
+
* @return the <code>Date</code> of the time of _plag hamincha_. If the calculation can't be computed such as
|
|
844
|
+
* in the Arctic Circle where there is at least one day a year where the sun does not rise, and one where it
|
|
845
|
+
* does not set, a `null` will be returned.
|
|
846
|
+
*/
|
|
847
|
+
plagHaminchaBaalHatanya() {
|
|
848
|
+
return this.getShaahZmanisBaalHatanya(10.75);
|
|
849
|
+
}
|
|
850
|
+
/**
|
|
851
|
+
* A method that returns _tzais_ (nightfall) when the sun is 6° below the western geometric horizon
|
|
852
|
+
* (90°) after {@link getSunset() sunset}. For information on the source of this calculation see
|
|
853
|
+
* {@link ZENITH_6_DEGREES}.
|
|
854
|
+
*
|
|
855
|
+
* @return The <code>Date</code> of nightfall. If the calculation can't be computed such as northern and southern
|
|
856
|
+
* locations even south of the Arctic Circle and north of the Antarctic Circle where the sun may not reach
|
|
857
|
+
* low enough below the horizon for this calculation, a `null` will be returned. * @see ZENITH_6_DEGREES
|
|
858
|
+
*/
|
|
859
|
+
tzaisBaalHatanya() {
|
|
860
|
+
return this.timeAtAngle(6, false);
|
|
861
|
+
}
|
|
677
862
|
/**
|
|
678
863
|
* Uses timeFormat to return a date like '20:34'.
|
|
679
864
|
* Returns `XX:XX` if the date is invalid.
|