@hebcal/core 5.3.9 → 5.3.11

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 CHANGED
@@ -1998,6 +1998,7 @@ Enables or disables elevation adjustment for zmanim support elevation adjustment
1998
1998
  ### zmanim.timeAtAngle(angle, rising) ⇒ <code>Date</code>
1999
1999
  Convenience function to get the time when sun is above or below the horizon
2000
2000
  for a certain angle (in degrees).
2001
+ This function does not support elevation adjustment.
2001
2002
 
2002
2003
  **Kind**: instance method of [<code>Zmanim</code>](#Zmanim)
2003
2004
 
@@ -2010,41 +2011,52 @@ for a certain angle (in degrees).
2010
2011
 
2011
2012
  ### zmanim.sunrise() ⇒ <code>Date</code>
2012
2013
  Upper edge of the Sun appears over the eastern horizon in the morning (0.833° above horizon)
2014
+ If elevation is enabled, this function will include elevation in the calculation.
2013
2015
 
2014
2016
  **Kind**: instance method of [<code>Zmanim</code>](#Zmanim)
2015
2017
  <a name="Zmanim+seaLevelSunrise"></a>
2016
2018
 
2017
2019
  ### zmanim.seaLevelSunrise() ⇒ <code>Date</code>
2018
- Upper edge of the Sun appears over the eastern horizon in the morning (0.833° above horizon)
2020
+ Upper edge of the Sun appears over the eastern horizon in the morning (0.833° above horizon).
2021
+ This function does not support elevation adjustment.
2019
2022
 
2020
2023
  **Kind**: instance method of [<code>Zmanim</code>](#Zmanim)
2021
2024
  <a name="Zmanim+sunset"></a>
2022
2025
 
2023
2026
  ### zmanim.sunset() ⇒ <code>Date</code>
2024
- When the upper edge of the Sun disappears below the horizon (0.833° below horizon)
2027
+ When the upper edge of the Sun disappears below the horizon (0.833° below horizon).
2028
+ If elevation is enabled, this function will include elevation in the calculation.
2025
2029
 
2026
2030
  **Kind**: instance method of [<code>Zmanim</code>](#Zmanim)
2027
2031
  <a name="Zmanim+seaLevelSunset"></a>
2028
2032
 
2029
2033
  ### zmanim.seaLevelSunset() ⇒ <code>Date</code>
2030
- When the upper edge of the Sun disappears below the horizon (0.833° below horizon)
2034
+ When the upper edge of the Sun disappears below the horizon (0.833° below horizon).
2035
+ This function does not support elevation adjustment.
2031
2036
 
2032
2037
  **Kind**: instance method of [<code>Zmanim</code>](#Zmanim)
2033
2038
  <a name="Zmanim+dawn"></a>
2034
2039
 
2035
2040
  ### zmanim.dawn() ⇒ <code>Date</code>
2036
- Civil dawn; Sun is 6° below the horizon in the morning
2041
+ Civil dawn; Sun is 6° below the horizon in the morning.
2042
+ Because degree-based functions estimate the amount of light in the sky,
2043
+ the result is not impacted by elevation.
2037
2044
 
2038
2045
  **Kind**: instance method of [<code>Zmanim</code>](#Zmanim)
2039
2046
  <a name="Zmanim+dusk"></a>
2040
2047
 
2041
2048
  ### zmanim.dusk() ⇒ <code>Date</code>
2042
- Civil dusk; Sun is 6° below the horizon in the evening
2049
+ Civil dusk; Sun is 6° below the horizon in the evening.
2050
+ Because degree-based functions estimate the amount of light in the sky,
2051
+ the result is not impacted by elevation.
2043
2052
 
2044
2053
  **Kind**: instance method of [<code>Zmanim</code>](#Zmanim)
2045
2054
  <a name="Zmanim+gregEve"></a>
2046
2055
 
2047
2056
  ### zmanim.gregEve() ⇒ <code>Date</code>
2057
+ Returns sunset for the previous day.
2058
+ If elevation is enabled, this function will include elevation in the calculation.
2059
+
2048
2060
  **Kind**: instance method of [<code>Zmanim</code>](#Zmanim)
2049
2061
  <a name="Zmanim+chatzot"></a>
2050
2062
 
@@ -2055,37 +2067,46 @@ Midday – Chatzot; Sunrise plus 6 halachic hours
2055
2067
  <a name="Zmanim+chatzotNight"></a>
2056
2068
 
2057
2069
  ### zmanim.chatzotNight() ⇒ <code>Date</code>
2058
- Midnight – Chatzot; Sunset plus 6 halachic hours
2070
+ Midnight – Chatzot; Sunset plus 6 halachic hours.
2071
+ If elevation is enabled, this function will include elevation in the calculation.
2059
2072
 
2060
2073
  **Kind**: instance method of [<code>Zmanim</code>](#Zmanim)
2061
2074
  <a name="Zmanim+alotHaShachar"></a>
2062
2075
 
2063
2076
  ### zmanim.alotHaShachar() ⇒ <code>Date</code>
2064
- Dawn – Alot haShachar; Sun is 16.1° below the horizon in the morning
2077
+ Dawn – Alot haShachar; Sun is 16.1° below the horizon in the morning.
2078
+ Because degree-based functions estimate the amount of light in the sky,
2079
+ the result is not impacted by elevation.
2065
2080
 
2066
2081
  **Kind**: instance method of [<code>Zmanim</code>](#Zmanim)
2067
2082
  <a name="Zmanim+misheyakir"></a>
2068
2083
 
2069
2084
  ### zmanim.misheyakir() ⇒ <code>Date</code>
2070
- Earliest talis & tefillin – Misheyakir; Sun is 11.5° below the horizon in the morning
2085
+ Earliest talis & tefillin – Misheyakir; Sun is 11.5° below the horizon in the morning.
2086
+ Because degree-based functions estimate the amount of light in the sky,
2087
+ the result is not impacted by elevation.
2071
2088
 
2072
2089
  **Kind**: instance method of [<code>Zmanim</code>](#Zmanim)
2073
2090
  <a name="Zmanim+misheyakirMachmir"></a>
2074
2091
 
2075
2092
  ### zmanim.misheyakirMachmir() ⇒ <code>Date</code>
2076
- Earliest talis & tefillin – Misheyakir Machmir; Sun is 10.2° below the horizon in the morning
2093
+ Earliest talis & tefillin – Misheyakir Machmir; Sun is 10.2° below the horizon in the morning.
2094
+ Because degree-based functions estimate the amount of light in the sky,
2095
+ the result is not impacted by elevation.
2077
2096
 
2078
2097
  **Kind**: instance method of [<code>Zmanim</code>](#Zmanim)
2079
2098
  <a name="Zmanim+sofZmanShma"></a>
2080
2099
 
2081
2100
  ### zmanim.sofZmanShma() ⇒ <code>Date</code>
2082
- Latest Shema (Gra); Sunrise plus 3 halachic hours, according to the Gra
2101
+ Latest Shema (Gra); Sunrise plus 3 halachic hours, according to the Gra.
2102
+ If elevation is enabled, this function will include elevation in the calculation.
2083
2103
 
2084
2104
  **Kind**: instance method of [<code>Zmanim</code>](#Zmanim)
2085
2105
  <a name="Zmanim+sofZmanTfilla"></a>
2086
2106
 
2087
2107
  ### zmanim.sofZmanTfilla() ⇒ <code>Date</code>
2088
- Latest Shacharit (Gra); Sunrise plus 4 halachic hours, according to the Gra
2108
+ Latest Shacharit (Gra); Sunrise plus 4 halachic hours, according to the Gra.
2109
+ If elevation is enabled, this function will include elevation in the calculation.
2089
2110
 
2090
2111
  **Kind**: instance method of [<code>Zmanim</code>](#Zmanim)
2091
2112
  <a name="Zmanim+sofZmanShmaMGA"></a>
@@ -2146,19 +2167,22 @@ https://kosherjava.com/2022/01/12/equinox-vs-equilux-zmanim-calculations/
2146
2167
  <a name="Zmanim+minchaGedola"></a>
2147
2168
 
2148
2169
  ### zmanim.minchaGedola() ⇒ <code>Date</code>
2149
- Earliest Mincha – Mincha Gedola; Sunrise plus 6.5 halachic hours
2170
+ Earliest Mincha – Mincha Gedola; Sunrise plus 6.5 halachic hours.
2171
+ If elevation is enabled, this function will include elevation in the calculation.
2150
2172
 
2151
2173
  **Kind**: instance method of [<code>Zmanim</code>](#Zmanim)
2152
2174
  <a name="Zmanim+minchaKetana"></a>
2153
2175
 
2154
2176
  ### zmanim.minchaKetana() ⇒ <code>Date</code>
2155
- Preferable earliest time to recite Minchah – Mincha Ketana; Sunrise plus 9.5 halachic hours
2177
+ Preferable earliest time to recite Minchah – Mincha Ketana; Sunrise plus 9.5 halachic hours.
2178
+ If elevation is enabled, this function will include elevation in the calculation.
2156
2179
 
2157
2180
  **Kind**: instance method of [<code>Zmanim</code>](#Zmanim)
2158
2181
  <a name="Zmanim+plagHaMincha"></a>
2159
2182
 
2160
2183
  ### zmanim.plagHaMincha() ⇒ <code>Date</code>
2161
- Plag haMincha; Sunrise plus 10.75 halachic hours
2184
+ Plag haMincha; Sunrise plus 10.75 halachic hours.
2185
+ If elevation is enabled, this function will include elevation in the calculation.
2162
2186
 
2163
2187
  **Kind**: instance method of [<code>Zmanim</code>](#Zmanim)
2164
2188
  <a name="Zmanim+tzeit"></a>
@@ -2168,7 +2192,7 @@ Plag haMincha; Sunrise plus 10.75 halachic hours
2168
2192
 
2169
2193
  | Param | Type | Default | Description |
2170
2194
  | --- | --- | --- | --- |
2171
- | [angle] | <code>number</code> | <code>8.5</code> | optional time for solar depression. Default is 8.5 degrees for 3 small stars, use 7.083 degrees for 3 medium-sized stars. |
2195
+ | [angle] | <code>number</code> | <code>8.5</code> | optional time for solar depression. Default is 8.5 degrees for 3 small stars, use 7.083 degrees for 3 medium-sized stars. Because degree-based functions estimate the amount of light in the sky, the result is not impacted by elevation. |
2172
2196
 
2173
2197
  <a name="Zmanim+neitzHaChama"></a>
2174
2198
 
@@ -2188,13 +2212,17 @@ Alias for sunset
2188
2212
  Rabbeinu Tam holds that bein hashmashos is a specific time
2189
2213
  between sunset and tzeis hakochavim.
2190
2214
  One opinion on how to calculate this time is that
2191
- it is 13.5 minutes before tzies 7.083
2215
+ it is 13.5 minutes before tzies 7.083.
2216
+ Because degree-based functions estimate the amount of light in the sky,
2217
+ the result is not impacted by elevation.
2192
2218
 
2193
2219
  **Kind**: instance method of [<code>Zmanim</code>](#Zmanim)
2194
2220
  <a name="Zmanim+sunriseOffset"></a>
2195
2221
 
2196
2222
  ### zmanim.sunriseOffset(offset, roundMinute, forceSeaLevel) ⇒ <code>Date</code>
2197
2223
  Returns sunrise + `offset` minutes (either positive or negative).
2224
+ If elevation is enabled, this function will include elevation in the calculation
2225
+ unless `forceSeaLevel` is `true`.
2198
2226
 
2199
2227
  **Kind**: instance method of [<code>Zmanim</code>](#Zmanim)
2200
2228
 
@@ -2208,6 +2236,8 @@ Returns sunrise + `offset` minutes (either positive or negative).
2208
2236
 
2209
2237
  ### zmanim.sunsetOffset(offset, roundMinute, forceSeaLevel) ⇒ <code>Date</code>
2210
2238
  Returns sunset + `offset` minutes (either positive or negative).
2239
+ If elevation is enabled, this function will include elevation in the calculation
2240
+ unless `forceSeaLevel` is `true`.
2211
2241
 
2212
2242
  **Kind**: instance method of [<code>Zmanim</code>](#Zmanim)
2213
2243
 
@@ -3336,6 +3366,92 @@ Holiday flags for Event
3336
3366
  | NACH_YOMI | <code>number</code> | <code>33554432</code> | Nach Yomi |
3337
3367
  | DAILY_LEARNING | <code>number</code> | <code>67108864</code> | Daily Learning |
3338
3368
 
3369
+ <a name="holidayDesc"></a>
3370
+
3371
+ ## holidayDesc : <code>enum</code>
3372
+ Transliterated names of holidays, used by `Event.getDesc()`
3373
+
3374
+ **Kind**: global enum
3375
+ **Read only**: true
3376
+ **Properties**
3377
+
3378
+ | Name | Type | Default | Description |
3379
+ | --- | --- | --- | --- |
3380
+ | ASARA_BTEVET | <code>string</code> | <code>&quot;Asara B&#x27;Tevet&quot;</code> | Asara B'Tevet |
3381
+ | BIRKAT_HACHAMAH | <code>string</code> | <code>&quot;Birkat Hachamah&quot;</code> | Birkat Hachamah |
3382
+ | CHAG_HABANOT | <code>string</code> | <code>&quot;Chag HaBanot&quot;</code> | Chag HaBanot |
3383
+ | CHANUKAH_8TH_DAY | <code>string</code> | <code>&quot;Chanukah: 8th Day&quot;</code> | Chanukah: 8th Day |
3384
+ | EREV_TISHA_BAV | <code>string</code> | <code>&quot;Erev Tish&#x27;a B&#x27;Av&quot;</code> | Erev Tish'a B'Av |
3385
+ | LEIL_SELICHOT | <code>string</code> | <code>&quot;Leil Selichot&quot;</code> | Leil Selichot |
3386
+ | PURIM_KATAN | <code>string</code> | <code>&quot;Purim Katan&quot;</code> | Purim Katan |
3387
+ | PURIM_MESHULASH | <code>string</code> | <code>&quot;Purim Meshulash&quot;</code> | Purim Meshulash |
3388
+ | SHABBAT_CHAZON | <code>string</code> | <code>&quot;Shabbat Chazon&quot;</code> | Shabbat Chazon |
3389
+ | SHABBAT_HACHODESH | <code>string</code> | <code>&quot;Shabbat HaChodesh&quot;</code> | Shabbat HaChodesh |
3390
+ | SHABBAT_HAGADOL | <code>string</code> | <code>&quot;Shabbat HaGadol&quot;</code> | Shabbat HaGadol |
3391
+ | SHABBAT_NACHAMU | <code>string</code> | <code>&quot;Shabbat Nachamu&quot;</code> | Shabbat Nachamu |
3392
+ | SHABBAT_PARAH | <code>string</code> | <code>&quot;Shabbat Parah&quot;</code> | Shabbat Parah |
3393
+ | SHABBAT_SHEKALIM | <code>string</code> | <code>&quot;Shabbat Shekalim&quot;</code> | Shabbat Shekalim |
3394
+ | SHABBAT_SHIRAH | <code>string</code> | <code>&quot;Shabbat Shirah&quot;</code> | Shabbat Shirah |
3395
+ | SHABBAT_SHUVA | <code>string</code> | <code>&quot;Shabbat Shuva&quot;</code> | Shabbat Shuva |
3396
+ | SHABBAT_ZACHOR | <code>string</code> | <code>&quot;Shabbat Zachor&quot;</code> | Shabbat Zachor |
3397
+ | SHUSHAN_PURIM_KATAN | <code>string</code> | <code>&quot;Shushan Purim Katan&quot;</code> | Shushan Purim Katan |
3398
+ | TAANIT_BECHOROT | <code>string</code> | <code>&quot;Ta&#x27;anit Bechorot&quot;</code> | Ta'anit Bechorot |
3399
+ | TAANIT_ESTHER | <code>string</code> | <code>&quot;Ta&#x27;anit Esther&quot;</code> | Ta'anit Esther |
3400
+ | TISHA_BAV | <code>string</code> | <code>&quot;Tish&#x27;a B&#x27;Av&quot;</code> | Tish'a B'Av |
3401
+ | TZOM_GEDALIAH | <code>string</code> | <code>&quot;Tzom Gedaliah&quot;</code> | Tzom Gedaliah |
3402
+ | TZOM_TAMMUZ | <code>string</code> | <code>&quot;Tzom Tammuz&quot;</code> | Tzom Tammuz |
3403
+ | YOM_HAATZMA_UT | <code>string</code> | <code>&quot;Yom HaAtzma&#x27;ut&quot;</code> | Yom HaAtzma'ut |
3404
+ | YOM_HASHOAH | <code>string</code> | <code>&quot;Yom HaShoah&quot;</code> | Yom HaShoah |
3405
+ | YOM_HAZIKARON | <code>string</code> | <code>&quot;Yom HaZikaron&quot;</code> | Yom HaZikaron |
3406
+ | BEN_GURION_DAY | <code>string</code> | <code>&quot;BEN_GURION_DAY&quot;</code> | Ben-Gurion Day |
3407
+ | CHANUKAH_1_CANDLE | <code>string</code> | <code>&quot;CHANUKAH_1_CANDLE&quot;</code> | Chanukah: 1 Candle |
3408
+ | EREV_PESACH | <code>string</code> | <code>&quot;EREV_PESACH&quot;</code> | Erev Pesach |
3409
+ | EREV_PURIM | <code>string</code> | <code>&quot;EREV_PURIM&quot;</code> | Erev Purim |
3410
+ | EREV_ROSH_HASHANA | <code>string</code> | <code>&quot;EREV_ROSH_HASHANA&quot;</code> | Erev Rosh Hashana |
3411
+ | EREV_SHAVUOT | <code>string</code> | <code>&quot;EREV_SHAVUOT&quot;</code> | Erev Shavuot |
3412
+ | EREV_SUKKOT | <code>string</code> | <code>&quot;EREV_SUKKOT&quot;</code> | Erev Sukkot |
3413
+ | EREV_YOM_KIPPUR | <code>string</code> | <code>&quot;EREV_YOM_KIPPUR&quot;</code> | Erev Yom Kippur |
3414
+ | FAMILY_DAY | <code>string</code> | <code>&quot;FAMILY_DAY&quot;</code> | Family Day |
3415
+ | HEBREW_LANGUAGE_DAY | <code>string</code> | <code>&quot;HEBREW_LANGUAGE_DAY&quot;</code> | Hebrew Language Day |
3416
+ | HERZL_DAY | <code>string</code> | <code>&quot;HERZL_DAY&quot;</code> | Herzl Day |
3417
+ | JABOTINSKY_DAY | <code>string</code> | <code>&quot;JABOTINSKY_DAY&quot;</code> | Jabotinsky Day |
3418
+ | LAG_BAOMER | <code>string</code> | <code>&quot;LAG_BAOMER&quot;</code> | Lag BaOmer |
3419
+ | PESACH_I | <code>string</code> | <code>&quot;PESACH_I&quot;</code> | Pesach I |
3420
+ | PESACH_II | <code>string</code> | <code>&quot;PESACH_II&quot;</code> | Pesach II |
3421
+ | PESACH_III_CHM | <code>string</code> | <code>&quot;PESACH_III_CHM&quot;</code> | Pesach III (CH''M) |
3422
+ | PESACH_II_CHM | <code>string</code> | <code>&quot;PESACH_II_CHM&quot;</code> | Pesach II (CH''M) |
3423
+ | PESACH_IV_CHM | <code>string</code> | <code>&quot;PESACH_IV_CHM&quot;</code> | Pesach IV (CH''M) |
3424
+ | PESACH_SHENI | <code>string</code> | <code>&quot;PESACH_SHENI&quot;</code> | Pesach Sheni |
3425
+ | PESACH_VII | <code>string</code> | <code>&quot;PESACH_VII&quot;</code> | Pesach VII |
3426
+ | PESACH_VIII | <code>string</code> | <code>&quot;PESACH_VIII&quot;</code> | Pesach VIII |
3427
+ | PESACH_VI_CHM | <code>string</code> | <code>&quot;PESACH_VI_CHM&quot;</code> | Pesach VI (CH''M) |
3428
+ | PESACH_V_CHM | <code>string</code> | <code>&quot;PESACH_V_CHM&quot;</code> | Pesach V (CH''M) |
3429
+ | PURIM | <code>string</code> | <code>&quot;PURIM&quot;</code> | Purim |
3430
+ | ROSH_HASHANA_II | <code>string</code> | <code>&quot;ROSH_HASHANA_II&quot;</code> | Rosh Hashana II |
3431
+ | ROSH_HASHANA_LABEHEMOT | <code>string</code> | <code>&quot;ROSH_HASHANA_LABEHEMOT&quot;</code> | Rosh Hashana LaBehemot |
3432
+ | SHAVUOT | <code>string</code> | <code>&quot;SHAVUOT&quot;</code> | Shavuot |
3433
+ | SHAVUOT_I | <code>string</code> | <code>&quot;SHAVUOT_I&quot;</code> | Shavuot I |
3434
+ | SHAVUOT_II | <code>string</code> | <code>&quot;SHAVUOT_II&quot;</code> | Shavuot II |
3435
+ | SHMINI_ATZERET | <code>string</code> | <code>&quot;SHMINI_ATZERET&quot;</code> | Shmini Atzeret |
3436
+ | SHUSHAN_PURIM | <code>string</code> | <code>&quot;SHUSHAN_PURIM&quot;</code> | Shushan Purim |
3437
+ | SIGD | <code>string</code> | <code>&quot;SIGD&quot;</code> | Sigd |
3438
+ | SIMCHAT_TORAH | <code>string</code> | <code>&quot;SIMCHAT_TORAH&quot;</code> | Simchat Torah |
3439
+ | SUKKOT_I | <code>string</code> | <code>&quot;SUKKOT_I&quot;</code> | Sukkot I |
3440
+ | SUKKOT_II | <code>string</code> | <code>&quot;SUKKOT_II&quot;</code> | Sukkot II |
3441
+ | SUKKOT_III_CHM | <code>string</code> | <code>&quot;SUKKOT_III_CHM&quot;</code> | Sukkot III (CH''M) |
3442
+ | SUKKOT_II_CHM | <code>string</code> | <code>&quot;SUKKOT_II_CHM&quot;</code> | Sukkot II (CH''M) |
3443
+ | SUKKOT_IV_CHM | <code>string</code> | <code>&quot;SUKKOT_IV_CHM&quot;</code> | Sukkot IV (CH''M) |
3444
+ | SUKKOT_VII_HOSHANA_RABA | <code>string</code> | <code>&quot;SUKKOT_VII_HOSHANA_RABA&quot;</code> | Sukkot VII (Hoshana Raba) |
3445
+ | SUKKOT_VI_CHM | <code>string</code> | <code>&quot;SUKKOT_VI_CHM&quot;</code> | Sukkot VI (CH''M) |
3446
+ | SUKKOT_V_CHM | <code>string</code> | <code>&quot;SUKKOT_V_CHM&quot;</code> | Sukkot V (CH''M) |
3447
+ | TU_BAV | <code>string</code> | <code>&quot;TU_BAV&quot;</code> | Tu B\'Av |
3448
+ | TU_BISHVAT | <code>string</code> | <code>&quot;TU_BISHVAT&quot;</code> | Tu BiShvat |
3449
+ | YITZHAK_RABIN_MEMORIAL_DAY | <code>string</code> | <code>&quot;YITZHAK_RABIN_MEMORIAL_DAY&quot;</code> | Yitzhak Rabin Memorial Day |
3450
+ | YOM_HAALIYAH | <code>string</code> | <code>&quot;YOM_HAALIYAH&quot;</code> | Yom HaAliyah |
3451
+ | YOM_HAALIYAH_SCHOOL_OBSERVANCE | <code>string</code> | <code>&quot;YOM_HAALIYAH_SCHOOL_OBSERVANCE&quot;</code> | Yom HaAliyah School Observance |
3452
+ | YOM_KIPPUR | <code>string</code> | <code>&quot;YOM_KIPPUR&quot;</code> | Yom Kippur |
3453
+ | YOM_YERUSHALAYIM | <code>string</code> | <code>&quot;YOM_YERUSHALAYIM&quot;</code> | Yom Yerushalayim |
3454
+
3339
3455
  <a name="parshiot"></a>
3340
3456
 
3341
3457
  ## parshiot : <code>Array.&lt;string&gt;</code>