@hebcal/core 5.3.6 → 5.3.8
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/README.md +123 -21
- package/dist/bundle.js +55 -11
- package/dist/bundle.min.js +2 -2
- package/dist/index.cjs +55 -11
- package/dist/index.mjs +55 -11
- package/hebcal.d.ts +30 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -217,6 +217,19 @@ we omit the thousands (which is presently 5 [ה]).</p>
|
|
|
217
217
|
Ignores final Hebrew letters such as <code>ך</code> (kaf sofit) or <code>ם</code> (mem sofit)
|
|
218
218
|
and vowels (nekudot).</p>
|
|
219
219
|
</dd>
|
|
220
|
+
<dt><a href="#omerSefira">omerSefira(omerDay, lang)</a> ⇒</dt>
|
|
221
|
+
<dd><p>Returns the sefira. For example, on day 8
|
|
222
|
+
חֶֽסֶד שֶׁבִּגְבוּרָה
|
|
223
|
+
Chesed shebiGevurah
|
|
224
|
+
Lovingkindness within Might</p>
|
|
225
|
+
</dd>
|
|
226
|
+
<dt><a href="#omerTodayIs">omerTodayIs(omerDay, lang)</a> ⇒</dt>
|
|
227
|
+
<dd><p>Returns a sentence with that evening's omer count</p>
|
|
228
|
+
</dd>
|
|
229
|
+
<dt><a href="#omerEmoji">omerEmoji(omerDay)</a> ⇒</dt>
|
|
230
|
+
<dd><p>Returns an emoji number symbol with a circle, for example <code>㊲</code>
|
|
231
|
+
from the “Enclosed CJK Letters and Months” block of the Unicode standard</p>
|
|
232
|
+
</dd>
|
|
220
233
|
</dl>
|
|
221
234
|
|
|
222
235
|
## Typedefs
|
|
@@ -1234,9 +1247,6 @@ href="http://en.wikipedia.org/wiki/Sunrise_equation">Wikipedia Sunrise Equation<
|
|
|
1234
1247
|
* [NOAACalculator](#NOAACalculator)
|
|
1235
1248
|
* [new NOAACalculator(geoLocation, date)](#new_NOAACalculator_new)
|
|
1236
1249
|
* _instance_
|
|
1237
|
-
* [.CIVIL_ZENITH](#NOAACalculator+CIVIL_ZENITH)
|
|
1238
|
-
* [.NAUTICAL_ZENITH](#NOAACalculator+NAUTICAL_ZENITH)
|
|
1239
|
-
* [.ASTRONOMICAL_ZENITH](#NOAACalculator+ASTRONOMICAL_ZENITH)
|
|
1240
1250
|
* [.getSunrise()](#NOAACalculator+getSunrise) ⇒ <code>Temporal.ZonedDateTime</code> \| <code>null</code>
|
|
1241
1251
|
* [.getSeaLevelSunrise()](#NOAACalculator+getSeaLevelSunrise) ⇒ <code>Temporal.ZonedDateTime</code> \| <code>null</code>
|
|
1242
1252
|
* [.getBeginCivilTwilight()](#NOAACalculator+getBeginCivilTwilight) ⇒ <code>Temporal.ZonedDateTime</code> \| <code>null</code>
|
|
@@ -1261,6 +1271,9 @@ href="http://en.wikipedia.org/wiki/Sunrise_equation">Wikipedia Sunrise Equation<
|
|
|
1261
1271
|
* [.getSunTransit(startOfDay, endOfDay)](#NOAACalculator+getSunTransit) ⇒ <code>Temporal.ZonedDateTime</code> \| <code>null</code>
|
|
1262
1272
|
* [.getDateFromTime(time, isSunrise)](#NOAACalculator+getDateFromTime) ⇒ <code>Temporal.ZonedDateTime</code> \| <code>null</code>
|
|
1263
1273
|
* _static_
|
|
1274
|
+
* [.CIVIL_ZENITH](#NOAACalculator.CIVIL_ZENITH)
|
|
1275
|
+
* [.NAUTICAL_ZENITH](#NOAACalculator.NAUTICAL_ZENITH)
|
|
1276
|
+
* [.ASTRONOMICAL_ZENITH](#NOAACalculator.ASTRONOMICAL_ZENITH)
|
|
1264
1277
|
* [.getTimeOffset(time, offset)](#NOAACalculator.getTimeOffset) ⇒ <code>Temporal.ZonedDateTime</code> \| <code>null</code>
|
|
1265
1278
|
* [.getSolarElevation(date, lat, lon)](#NOAACalculator.getSolarElevation) ⇒ <code>number</code>
|
|
1266
1279
|
* [.getSolarAzimuth(date, latitude, lon)](#NOAACalculator.getSolarAzimuth) ⇒ <code>number</code>
|
|
@@ -1277,24 +1290,6 @@ parameter.
|
|
|
1277
1290
|
| geoLocation | [<code>GeoLocation</code>](#GeoLocation) | The location information used for calculating astronomical sun times. |
|
|
1278
1291
|
| date | <code>Temporal.PlainDate</code> | |
|
|
1279
1292
|
|
|
1280
|
-
<a name="NOAACalculator+CIVIL_ZENITH"></a>
|
|
1281
|
-
|
|
1282
|
-
### noaaCalculator.CIVIL\_ZENITH
|
|
1283
|
-
Sun's zenith at civil twilight (96°).
|
|
1284
|
-
|
|
1285
|
-
**Kind**: instance property of [<code>NOAACalculator</code>](#NOAACalculator)
|
|
1286
|
-
<a name="NOAACalculator+NAUTICAL_ZENITH"></a>
|
|
1287
|
-
|
|
1288
|
-
### noaaCalculator.NAUTICAL\_ZENITH
|
|
1289
|
-
Sun's zenith at nautical twilight (102°).
|
|
1290
|
-
|
|
1291
|
-
**Kind**: instance property of [<code>NOAACalculator</code>](#NOAACalculator)
|
|
1292
|
-
<a name="NOAACalculator+ASTRONOMICAL_ZENITH"></a>
|
|
1293
|
-
|
|
1294
|
-
### noaaCalculator.ASTRONOMICAL\_ZENITH
|
|
1295
|
-
Sun's zenith at astronomical twilight (108°).
|
|
1296
|
-
|
|
1297
|
-
**Kind**: instance property of [<code>NOAACalculator</code>](#NOAACalculator)
|
|
1298
1293
|
<a name="NOAACalculator+getSunrise"></a>
|
|
1299
1294
|
|
|
1300
1295
|
### noaaCalculator.getSunrise() ⇒ <code>Temporal.ZonedDateTime</code> \| <code>null</code>
|
|
@@ -1686,6 +1681,24 @@ A method that returns a `Date` from the time passed in as a parameter.
|
|
|
1686
1681
|
| time | <code>number</code> | The time to be set as the time for the `Date`. The time expected is in the format: 18.75 for 6:45:00 PM. |
|
|
1687
1682
|
| isSunrise | <code>boolean</code> | true if the time is sunrise, and false if it is sunset |
|
|
1688
1683
|
|
|
1684
|
+
<a name="NOAACalculator.CIVIL_ZENITH"></a>
|
|
1685
|
+
|
|
1686
|
+
### NOAACalculator.CIVIL\_ZENITH
|
|
1687
|
+
Sun's zenith at civil twilight (96°).
|
|
1688
|
+
|
|
1689
|
+
**Kind**: static property of [<code>NOAACalculator</code>](#NOAACalculator)
|
|
1690
|
+
<a name="NOAACalculator.NAUTICAL_ZENITH"></a>
|
|
1691
|
+
|
|
1692
|
+
### NOAACalculator.NAUTICAL\_ZENITH
|
|
1693
|
+
Sun's zenith at nautical twilight (102°).
|
|
1694
|
+
|
|
1695
|
+
**Kind**: static property of [<code>NOAACalculator</code>](#NOAACalculator)
|
|
1696
|
+
<a name="NOAACalculator.ASTRONOMICAL_ZENITH"></a>
|
|
1697
|
+
|
|
1698
|
+
### NOAACalculator.ASTRONOMICAL\_ZENITH
|
|
1699
|
+
Sun's zenith at astronomical twilight (108°).
|
|
1700
|
+
|
|
1701
|
+
**Kind**: static property of [<code>NOAACalculator</code>](#NOAACalculator)
|
|
1689
1702
|
<a name="NOAACalculator.getTimeOffset"></a>
|
|
1690
1703
|
|
|
1691
1704
|
### NOAACalculator.getTimeOffset(time, offset) ⇒ <code>Temporal.ZonedDateTime</code> \| <code>null</code>
|
|
@@ -1900,6 +1913,8 @@ https://gml.noaa.gov/grad/solcalc/calcdetails.html
|
|
|
1900
1913
|
* [Zmanim](#Zmanim)
|
|
1901
1914
|
* [new Zmanim(gloc, date, useElevation)](#new_Zmanim_new)
|
|
1902
1915
|
* _instance_
|
|
1916
|
+
* [.getUseElevation()](#Zmanim+getUseElevation) ⇒ <code>boolean</code>
|
|
1917
|
+
* [.setUseElevation(useElevation)](#Zmanim+setUseElevation)
|
|
1903
1918
|
* [.timeAtAngle(angle, rising)](#Zmanim+timeAtAngle) ⇒ <code>Date</code>
|
|
1904
1919
|
* [.sunrise()](#Zmanim+sunrise) ⇒ <code>Date</code>
|
|
1905
1920
|
* [.seaLevelSunrise()](#Zmanim+seaLevelSunrise) ⇒ <code>Date</code>
|
|
@@ -1917,8 +1932,10 @@ https://gml.noaa.gov/grad/solcalc/calcdetails.html
|
|
|
1917
1932
|
* [.sofZmanTfilla()](#Zmanim+sofZmanTfilla) ⇒ <code>Date</code>
|
|
1918
1933
|
* [.sofZmanShmaMGA()](#Zmanim+sofZmanShmaMGA) ⇒ <code>Date</code>
|
|
1919
1934
|
* [.sofZmanShmaMGA16Point1()](#Zmanim+sofZmanShmaMGA16Point1) ⇒ <code>Date</code>
|
|
1935
|
+
* [.sofZmanShmaMGA19Point8()](#Zmanim+sofZmanShmaMGA19Point8) ⇒ <code>Date</code>
|
|
1920
1936
|
* [.sofZmanTfillaMGA()](#Zmanim+sofZmanTfillaMGA) ⇒ <code>Date</code>
|
|
1921
1937
|
* [.sofZmanTfillaMGA16Point1()](#Zmanim+sofZmanTfillaMGA16Point1) ⇒ <code>Date</code>
|
|
1938
|
+
* [.sofZmanTfillaMGA19Point8()](#Zmanim+sofZmanTfillaMGA19Point8) ⇒ <code>Date</code>
|
|
1922
1939
|
* [.minchaGedola()](#Zmanim+minchaGedola) ⇒ <code>Date</code>
|
|
1923
1940
|
* [.minchaKetana()](#Zmanim+minchaKetana) ⇒ <code>Date</code>
|
|
1924
1941
|
* [.plagHaMincha()](#Zmanim+plagHaMincha) ⇒ <code>Date</code>
|
|
@@ -1958,6 +1975,24 @@ const zmanim = new Zmanim(gloc, friday, false);
|
|
|
1958
1975
|
const candleLighting = zmanim.sunsetOffset(-18, true);
|
|
1959
1976
|
const timeStr = Zmanim.formatISOWithTimeZone(tzid, candleLighting);
|
|
1960
1977
|
```
|
|
1978
|
+
<a name="Zmanim+getUseElevation"></a>
|
|
1979
|
+
|
|
1980
|
+
### zmanim.getUseElevation() ⇒ <code>boolean</code>
|
|
1981
|
+
Returns `true` if elevation adjustment is enabled
|
|
1982
|
+
for zmanim support elevation adjustment
|
|
1983
|
+
|
|
1984
|
+
**Kind**: instance method of [<code>Zmanim</code>](#Zmanim)
|
|
1985
|
+
<a name="Zmanim+setUseElevation"></a>
|
|
1986
|
+
|
|
1987
|
+
### zmanim.setUseElevation(useElevation)
|
|
1988
|
+
Enables or disables elevation adjustment for zmanim support elevation adjustment
|
|
1989
|
+
|
|
1990
|
+
**Kind**: instance method of [<code>Zmanim</code>](#Zmanim)
|
|
1991
|
+
|
|
1992
|
+
| Param | Type |
|
|
1993
|
+
| --- | --- |
|
|
1994
|
+
| useElevation | <code>boolean</code> |
|
|
1995
|
+
|
|
1961
1996
|
<a name="Zmanim+timeAtAngle"></a>
|
|
1962
1997
|
|
|
1963
1998
|
### zmanim.timeAtAngle(angle, rising) ⇒ <code>Date</code>
|
|
@@ -2069,6 +2104,18 @@ Latest Shema (MGA); Sunrise plus 3 halachic hours, according to Magen Avraham.
|
|
|
2069
2104
|
Based on the opinion of the MGA that the day is calculated from
|
|
2070
2105
|
dawn to nightfall with both being 16.1° below the horizon.
|
|
2071
2106
|
|
|
2107
|
+
**Kind**: instance method of [<code>Zmanim</code>](#Zmanim)
|
|
2108
|
+
<a name="Zmanim+sofZmanShmaMGA19Point8"></a>
|
|
2109
|
+
|
|
2110
|
+
### zmanim.sofZmanShmaMGA19Point8() ⇒ <code>Date</code>
|
|
2111
|
+
Latest Shema (MGA); Sunrise plus 3 halachic hours, according to Magen Avraham.
|
|
2112
|
+
Based on the opinion of the MGA that the day is calculated from
|
|
2113
|
+
dawn to nightfall with both being 19.8° below the horizon.
|
|
2114
|
+
|
|
2115
|
+
This calculation is based on the position of the sun 90 minutes after sunset in Jerusalem
|
|
2116
|
+
around the equinox / equilux which calculates to 19.8° below geometric zenith.
|
|
2117
|
+
https://kosherjava.com/2022/01/12/equinox-vs-equilux-zmanim-calculations/
|
|
2118
|
+
|
|
2072
2119
|
**Kind**: instance method of [<code>Zmanim</code>](#Zmanim)
|
|
2073
2120
|
<a name="Zmanim+sofZmanTfillaMGA"></a>
|
|
2074
2121
|
|
|
@@ -2083,6 +2130,18 @@ Latest Shacharit (MGA); Sunrise plus 4 halachic hours, according to Magen Avraha
|
|
|
2083
2130
|
Based on the opinion of the MGA that the day is calculated from
|
|
2084
2131
|
dawn to nightfall with both being 16.1° below the horizon.
|
|
2085
2132
|
|
|
2133
|
+
**Kind**: instance method of [<code>Zmanim</code>](#Zmanim)
|
|
2134
|
+
<a name="Zmanim+sofZmanTfillaMGA19Point8"></a>
|
|
2135
|
+
|
|
2136
|
+
### zmanim.sofZmanTfillaMGA19Point8() ⇒ <code>Date</code>
|
|
2137
|
+
Latest Shacharit (MGA); Sunrise plus 4 halachic hours, according to Magen Avraham.
|
|
2138
|
+
Based on the opinion of the MGA that the day is calculated from
|
|
2139
|
+
dawn to nightfall with both being 19.8° below the horizon.
|
|
2140
|
+
|
|
2141
|
+
This calculation is based on the position of the sun 90 minutes after sunset in Jerusalem
|
|
2142
|
+
around the equinox / equilux which calculates to 19.8° below geometric zenith.
|
|
2143
|
+
https://kosherjava.com/2022/01/12/equinox-vs-equilux-zmanim-calculations/
|
|
2144
|
+
|
|
2086
2145
|
**Kind**: instance method of [<code>Zmanim</code>](#Zmanim)
|
|
2087
2146
|
<a name="Zmanim+minchaGedola"></a>
|
|
2088
2147
|
|
|
@@ -3453,6 +3512,49 @@ and vowels (nekudot).
|
|
|
3453
3512
|
| --- | --- |
|
|
3454
3513
|
| str | <code>string</code> |
|
|
3455
3514
|
|
|
3515
|
+
<a name="omerSefira"></a>
|
|
3516
|
+
|
|
3517
|
+
## omerSefira(omerDay, lang) ⇒
|
|
3518
|
+
Returns the sefira. For example, on day 8
|
|
3519
|
+
חֶֽסֶד שֶׁבִּגְבוּרָה
|
|
3520
|
+
Chesed shebiGevurah
|
|
3521
|
+
Lovingkindness within Might
|
|
3522
|
+
|
|
3523
|
+
**Kind**: global function
|
|
3524
|
+
**Returns**: a string such as `Lovingkindness within Might` or `חֶֽסֶד שֶׁבִּגְבוּרָה`
|
|
3525
|
+
|
|
3526
|
+
| Param | Description |
|
|
3527
|
+
| --- | --- |
|
|
3528
|
+
| omerDay | the day of the omer, 1-49 inclusive |
|
|
3529
|
+
| lang | `en` (English), `he` (Hebrew with nikud), or `translit` (Hebrew in Sephardic transliteration) |
|
|
3530
|
+
|
|
3531
|
+
<a name="omerTodayIs"></a>
|
|
3532
|
+
|
|
3533
|
+
## omerTodayIs(omerDay, lang) ⇒
|
|
3534
|
+
Returns a sentence with that evening's omer count
|
|
3535
|
+
|
|
3536
|
+
**Kind**: global function
|
|
3537
|
+
**Returns**: a string such as `Today is 10 days, which is 1 week and 3 days of the Omer`
|
|
3538
|
+
or `הַיוֹם עֲשָׂרָה יָמִים, שְׁהֵם שָׁבוּעַ אֶחָד וְשְׁלוֹשָׁה יָמִים לָעוֹמֶר`
|
|
3539
|
+
|
|
3540
|
+
| Param | Description |
|
|
3541
|
+
| --- | --- |
|
|
3542
|
+
| omerDay | the day of the omer, 1-49 inclusive |
|
|
3543
|
+
| lang | `en` (English), `he` (Hebrew with nikud) |
|
|
3544
|
+
|
|
3545
|
+
<a name="omerEmoji"></a>
|
|
3546
|
+
|
|
3547
|
+
## omerEmoji(omerDay) ⇒
|
|
3548
|
+
Returns an emoji number symbol with a circle, for example `㊲`
|
|
3549
|
+
from the “Enclosed CJK Letters and Months” block of the Unicode standard
|
|
3550
|
+
|
|
3551
|
+
**Kind**: global function
|
|
3552
|
+
**Returns**: a single Unicode character from `①` through `㊾`
|
|
3553
|
+
|
|
3554
|
+
| Param | Description |
|
|
3555
|
+
| --- | --- |
|
|
3556
|
+
| omerDay | the day of the omer, 1-49 inclusive |
|
|
3557
|
+
|
|
3456
3558
|
<a name="SedraResult"></a>
|
|
3457
3559
|
|
|
3458
3560
|
## SedraResult : <code>Object</code>
|
package/dist/bundle.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @hebcal/core v5.3.
|
|
1
|
+
/*! @hebcal/core v5.3.8 */
|
|
2
2
|
var hebcal = (function (exports) {
|
|
3
3
|
'use strict';
|
|
4
4
|
|
|
@@ -9204,6 +9204,21 @@ class Zmanim {
|
|
|
9204
9204
|
this.noaa = new NOAACalculator(gloc, plainDate);
|
|
9205
9205
|
this.useElevation = Boolean(useElevation);
|
|
9206
9206
|
}
|
|
9207
|
+
/**
|
|
9208
|
+
* Returns `true` if elevation adjustment is enabled
|
|
9209
|
+
* for zmanim support elevation adjustment
|
|
9210
|
+
* @return {boolean}
|
|
9211
|
+
*/
|
|
9212
|
+
getUseElevation() {
|
|
9213
|
+
return this.useElevation;
|
|
9214
|
+
}
|
|
9215
|
+
/**
|
|
9216
|
+
* Enables or disables elevation adjustment for zmanim support elevation adjustment
|
|
9217
|
+
* @param {boolean} useElevation
|
|
9218
|
+
*/
|
|
9219
|
+
setUseElevation(useElevation) {
|
|
9220
|
+
this.useElevation = useElevation;
|
|
9221
|
+
}
|
|
9207
9222
|
/**
|
|
9208
9223
|
* Convenience function to get the time when sun is above or below the horizon
|
|
9209
9224
|
* for a certain angle (in degrees).
|
|
@@ -9321,8 +9336,8 @@ class Zmanim {
|
|
|
9321
9336
|
* @return {Date}
|
|
9322
9337
|
*/
|
|
9323
9338
|
getShaahZmanisBasedZman(hours) {
|
|
9324
|
-
const startOfDay = this.noaa.getSunrise();
|
|
9325
|
-
const endOfDay = this.noaa.getSunset();
|
|
9339
|
+
const startOfDay = this.useElevation ? this.noaa.getSunrise() : this.noaa.getSeaLevelSunrise();
|
|
9340
|
+
const endOfDay = this.useElevation ? this.noaa.getSunset() : this.noaa.getSeaLevelSunset();
|
|
9326
9341
|
const temporalHour = this.noaa.getTemporalHour(startOfDay, endOfDay);
|
|
9327
9342
|
const offset = Math.round(temporalHour * hours);
|
|
9328
9343
|
const zdt = NOAACalculator.getTimeOffset(startOfDay, offset);
|
|
@@ -9358,13 +9373,14 @@ class Zmanim {
|
|
|
9358
9373
|
/**
|
|
9359
9374
|
* Returns an array with alot (Date) and ms in hour (number)
|
|
9360
9375
|
* @private
|
|
9376
|
+
* @param {number} angle
|
|
9361
9377
|
* @return {any[]}
|
|
9362
9378
|
*/
|
|
9363
|
-
|
|
9364
|
-
const
|
|
9365
|
-
const
|
|
9366
|
-
const temporalHour = (
|
|
9367
|
-
return [
|
|
9379
|
+
getTemporalHourByDeg(angle) {
|
|
9380
|
+
const alot = this.timeAtAngle(angle, true);
|
|
9381
|
+
const tzeit = this.timeAtAngle(angle, false);
|
|
9382
|
+
const temporalHour = (tzeit - alot) / 12;
|
|
9383
|
+
return [alot, temporalHour];
|
|
9368
9384
|
}
|
|
9369
9385
|
/**
|
|
9370
9386
|
* Latest Shema (MGA); Sunrise plus 3 halachic hours, according to Magen Avraham.
|
|
@@ -9385,7 +9401,21 @@ class Zmanim {
|
|
|
9385
9401
|
* @return {Date}
|
|
9386
9402
|
*/
|
|
9387
9403
|
sofZmanShmaMGA16Point1() {
|
|
9388
|
-
const [alot, temporalHour] = this.
|
|
9404
|
+
const [alot, temporalHour] = this.getTemporalHourByDeg(16.1);
|
|
9405
|
+
return new Date(alot.getTime() + 3 * temporalHour);
|
|
9406
|
+
}
|
|
9407
|
+
/**
|
|
9408
|
+
* Latest Shema (MGA); Sunrise plus 3 halachic hours, according to Magen Avraham.
|
|
9409
|
+
* Based on the opinion of the MGA that the day is calculated from
|
|
9410
|
+
* dawn to nightfall with both being 19.8° below the horizon.
|
|
9411
|
+
*
|
|
9412
|
+
* This calculation is based on the position of the sun 90 minutes after sunset in Jerusalem
|
|
9413
|
+
* around the equinox / equilux which calculates to 19.8° below geometric zenith.
|
|
9414
|
+
* https://kosherjava.com/2022/01/12/equinox-vs-equilux-zmanim-calculations/
|
|
9415
|
+
* @return {Date}
|
|
9416
|
+
*/
|
|
9417
|
+
sofZmanShmaMGA19Point8() {
|
|
9418
|
+
const [alot, temporalHour] = this.getTemporalHourByDeg(19.8);
|
|
9389
9419
|
return new Date(alot.getTime() + 3 * temporalHour);
|
|
9390
9420
|
}
|
|
9391
9421
|
/**
|
|
@@ -9404,7 +9434,21 @@ class Zmanim {
|
|
|
9404
9434
|
* @return {Date}
|
|
9405
9435
|
*/
|
|
9406
9436
|
sofZmanTfillaMGA16Point1() {
|
|
9407
|
-
const [alot, temporalHour] = this.
|
|
9437
|
+
const [alot, temporalHour] = this.getTemporalHourByDeg(16.1);
|
|
9438
|
+
return new Date(alot.getTime() + 4 * temporalHour);
|
|
9439
|
+
}
|
|
9440
|
+
/**
|
|
9441
|
+
* Latest Shacharit (MGA); Sunrise plus 4 halachic hours, according to Magen Avraham.
|
|
9442
|
+
* Based on the opinion of the MGA that the day is calculated from
|
|
9443
|
+
* dawn to nightfall with both being 19.8° below the horizon.
|
|
9444
|
+
*
|
|
9445
|
+
* This calculation is based on the position of the sun 90 minutes after sunset in Jerusalem
|
|
9446
|
+
* around the equinox / equilux which calculates to 19.8° below geometric zenith.
|
|
9447
|
+
* https://kosherjava.com/2022/01/12/equinox-vs-equilux-zmanim-calculations/
|
|
9448
|
+
* @return {Date}
|
|
9449
|
+
*/
|
|
9450
|
+
sofZmanTfillaMGA19Point8() {
|
|
9451
|
+
const [alot, temporalHour] = this.getTemporalHourByDeg(19.8);
|
|
9408
9452
|
return new Date(alot.getTime() + 4 * temporalHour);
|
|
9409
9453
|
}
|
|
9410
9454
|
/**
|
|
@@ -11878,7 +11922,7 @@ class DailyLearning {
|
|
|
11878
11922
|
}
|
|
11879
11923
|
|
|
11880
11924
|
// DO NOT EDIT THIS AUTO-GENERATED FILE!
|
|
11881
|
-
const version = '5.3.
|
|
11925
|
+
const version = '5.3.8';
|
|
11882
11926
|
|
|
11883
11927
|
const NONE$1 = 0;
|
|
11884
11928
|
const HALF = 1;
|