@hebcal/core 6.8.1 → 6.9.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.
Files changed (97) hide show
  1. package/README.md +262 -4
  2. package/dist/bundle.js +1401 -943
  3. package/dist/bundle.js.map +1 -1
  4. package/dist/bundle.min.js +18 -17
  5. package/dist/bundle.min.js.map +1 -1
  6. package/dist/esm/CalOptions.d.ts +11 -1
  7. package/dist/esm/DailyLearning.d.ts +4 -4
  8. package/dist/esm/DailyLearning.js +5 -5
  9. package/dist/esm/DailyLearning.js.map +1 -1
  10. package/dist/esm/HebrewDateEvent.js +1 -1
  11. package/dist/esm/HolidayEvent.d.ts +7 -2
  12. package/dist/esm/HolidayEvent.js +8 -3
  13. package/dist/esm/HolidayEvent.js.map +1 -1
  14. package/dist/esm/MevarchimChodeshEvent.d.ts +2 -1
  15. package/dist/esm/MevarchimChodeshEvent.js +3 -2
  16. package/dist/esm/MevarchimChodeshEvent.js.map +1 -1
  17. package/dist/esm/ParshaEvent.d.ts +13 -0
  18. package/dist/esm/ParshaEvent.js +14 -1
  19. package/dist/esm/ParshaEvent.js.map +1 -1
  20. package/dist/esm/TimedEvent.d.ts +12 -4
  21. package/dist/esm/TimedEvent.js +13 -5
  22. package/dist/esm/TimedEvent.js.map +1 -1
  23. package/dist/esm/YomKippurKatanEvent.d.ts +2 -1
  24. package/dist/esm/YomKippurKatanEvent.js +3 -2
  25. package/dist/esm/YomKippurKatanEvent.js.map +1 -1
  26. package/dist/esm/ashkenazi.po.js +1 -1
  27. package/dist/esm/calendar.d.ts +17 -7
  28. package/dist/esm/calendar.js +23 -10
  29. package/dist/esm/calendar.js.map +1 -1
  30. package/dist/esm/candles.d.ts +19 -1
  31. package/dist/esm/candles.js +20 -2
  32. package/dist/esm/candles.js.map +1 -1
  33. package/dist/esm/cities.json.js +1 -1
  34. package/dist/esm/event.d.ts +2 -4
  35. package/dist/esm/event.js +3 -5
  36. package/dist/esm/event.js.map +1 -1
  37. package/dist/esm/getStartAndEnd.js +1 -1
  38. package/dist/esm/hallel.js +1 -1
  39. package/dist/esm/he-x-NoNikud.po.js +1 -1
  40. package/dist/esm/he.po.js +2 -2
  41. package/dist/esm/he.po.js.map +1 -1
  42. package/dist/esm/hebcal.d.ts +31 -96
  43. package/dist/esm/hebcal.js +34 -107
  44. package/dist/esm/hebcal.js.map +1 -1
  45. package/dist/esm/holidays.d.ts +8 -1
  46. package/dist/esm/holidays.js +2 -2
  47. package/dist/esm/holidays.js.map +1 -1
  48. package/dist/esm/index.d.ts +3 -1
  49. package/dist/esm/index.js +3 -1
  50. package/dist/esm/index.js.map +1 -1
  51. package/dist/esm/isAssurBemlacha.js +6 -3
  52. package/dist/esm/isAssurBemlacha.js.map +1 -1
  53. package/dist/esm/isAveilut.js +1 -1
  54. package/dist/esm/isFastDay.d.ts +1 -1
  55. package/dist/esm/isFastDay.js +2 -2
  56. package/dist/esm/isFastDay.js.map +1 -1
  57. package/dist/esm/locale.js +1 -1
  58. package/dist/esm/location.d.ts +37 -9
  59. package/dist/esm/location.js +38 -10
  60. package/dist/esm/location.js.map +1 -1
  61. package/dist/esm/modern.js +1 -1
  62. package/dist/esm/molad.d.ts +26 -20
  63. package/dist/esm/molad.js +27 -21
  64. package/dist/esm/molad.js.map +1 -1
  65. package/dist/esm/moladBase.d.ts +11 -0
  66. package/dist/esm/moladBase.js +12 -1
  67. package/dist/esm/moladBase.js.map +1 -1
  68. package/dist/esm/moladDate.d.ts +10 -6
  69. package/dist/esm/moladDate.js +25 -18
  70. package/dist/esm/moladDate.js.map +1 -1
  71. package/dist/esm/omer.d.ts +19 -3
  72. package/dist/esm/omer.js +20 -4
  73. package/dist/esm/omer.js.map +1 -1
  74. package/dist/esm/parshaName.js +1 -1
  75. package/dist/esm/parshaYear.d.ts +2 -2
  76. package/dist/esm/parshaYear.js +3 -3
  77. package/dist/esm/parshaYear.js.map +1 -1
  78. package/dist/esm/pkgVersion.d.ts +1 -1
  79. package/dist/esm/pkgVersion.js +2 -2
  80. package/dist/esm/pkgVersion.js.map +1 -1
  81. package/dist/esm/reformatTimeStr.d.ts +14 -2
  82. package/dist/esm/reformatTimeStr.js +15 -3
  83. package/dist/esm/reformatTimeStr.js.map +1 -1
  84. package/dist/esm/sedra.d.ts +44 -18
  85. package/dist/esm/sedra.js +39 -17
  86. package/dist/esm/sedra.js.map +1 -1
  87. package/dist/esm/sefira.json.js +1 -1
  88. package/dist/esm/staticHolidays.d.ts +0 -2
  89. package/dist/esm/staticHolidays.js +1 -3
  90. package/dist/esm/staticHolidays.js.map +1 -1
  91. package/dist/esm/string.js +1 -1
  92. package/dist/esm/tachanun.js +1 -1
  93. package/dist/esm/zmanim.d.ts +177 -142
  94. package/dist/esm/zmanim.js +183 -148
  95. package/dist/esm/zmanim.js.map +1 -1
  96. package/package.json +9 -10
  97. package/po/he.po +4 -2
@@ -17,7 +17,7 @@ import { HDate } from '@hebcal/hdate';
17
17
  * https://gml.noaa.gov/grad/solcalc/calcdetails.html
18
18
  *
19
19
  * @example
20
- * const {GeoLocation, Zmanim} = require('@hebcal/core');
20
+ * import {GeoLocation, Zmanim} from '@hebcal/core';
21
21
  * const latitude = 41.822232;
22
22
  * const longitude = -71.448292;
23
23
  * const tzid = 'America/New_York';
@@ -26,6 +26,7 @@ import { HDate } from '@hebcal/hdate';
26
26
  * const zmanim = new Zmanim(gloc, friday, false);
27
27
  * const candleLighting = zmanim.sunsetOffset(-18, true);
28
28
  * const timeStr = Zmanim.formatISOWithTimeZone(tzid, candleLighting);
29
+ * // '2023-09-08T18:49:00-04:00'
29
30
  */
30
31
  export declare class Zmanim {
31
32
  private readonly hdate;
@@ -46,21 +47,27 @@ export declare class Zmanim {
46
47
  */
47
48
  constructor(gloc: GeoLocation, date: Date | HDate, useElevation: boolean);
48
49
  /**
49
- * Returns `true` if elevation adjustment is enabled
50
- * for zmanim support elevation adjustment
50
+ * Returns `true` if this instance uses the location's elevation when
51
+ * calculating sunrise/sunset-based zmanim.
51
52
  */
52
53
  getUseElevation(): boolean;
53
54
  /**
54
- * Enables or disables elevation adjustment for zmanim support elevation adjustment
55
- * @param useElevation
55
+ * Enables or disables elevation adjustment for sunrise/sunset-based zmanim.
56
+ *
57
+ * Degree-based zmanim (such as {@link alotHaShachar} or {@link tzeit})
58
+ * estimate the amount of light in the sky and are never affected by this
59
+ * setting.
60
+ * @param useElevation `true` to include the location's elevation
56
61
  */
57
62
  setUseElevation(useElevation: boolean): void;
58
63
  /**
59
64
  * Convenience function to get the time when sun is above or below the horizon
60
65
  * for a certain angle (in degrees).
61
66
  * This function does not support elevation adjustment.
62
- * @param angle
63
- * @param rising
67
+ * @param angle degrees of solar depression below the horizon; for example
68
+ * `8.5` means the center of the sun is 8.5° below the horizon
69
+ * @param rising `true` for the morning (before sunrise), `false` for the
70
+ * evening (after sunset)
64
71
  */
65
72
  timeAtAngle(angle: number, rising: boolean): Date;
66
73
  /**
@@ -101,11 +108,17 @@ export declare class Zmanim {
101
108
  */
102
109
  gregEve(): Date;
103
110
  /**
104
- * @private
111
+ * Length in milliseconds of one halachic hour of the night, calculated as
112
+ * one twelfth of the time between the previous day's sunset and this
113
+ * day's sunrise. Used internally by {@link chatzotNight}.
105
114
  */
106
115
  nightHour(): number;
107
116
  /**
108
- * Midday – Chatzot; Sunrise plus 6 halachic hours
117
+ * Midday – Chatzot; Sunrise plus 6 halachic hours.
118
+ *
119
+ * Unlike most sunrise/sunset-based zmanim, this is always computed from
120
+ * sea-level sunrise and sunset, so it is not affected by the
121
+ * `useElevation` setting.
109
122
  */
110
123
  chatzot(): Date;
111
124
  /**
@@ -124,6 +137,11 @@ export declare class Zmanim {
124
137
  * sea level sunrise.
125
138
  */
126
139
  alotHaShachar72(): Date;
140
+ /**
141
+ * Same as {@link alotHaShachar72}, but returns a `Temporal.ZonedDateTime`
142
+ * with seconds precision (instead of a `Date` rounded to the minute), or
143
+ * `null` if sunrise cannot be calculated for this date and location.
144
+ */
127
145
  alotHaShachar72zdt(): Temporal.ZonedDateTime | null;
128
146
  /**
129
147
  * Earliest talis & tefillin – Misheyakir; Sun is 11.5° below the horizon in the morning.
@@ -140,8 +158,7 @@ export declare class Zmanim {
140
158
  private getShaahZmanisBasedZmanZdt;
141
159
  /**
142
160
  * Utility method for using elevation-aware sunrise/sunset
143
- * @private
144
- * @param hours
161
+ * @param hours number of _shaos zmaniyos_ (solar hours) after sunrise
145
162
  */
146
163
  private getShaahZmanisBasedZman;
147
164
  /**
@@ -152,7 +169,7 @@ export declare class Zmanim {
152
169
  /**
153
170
  * Latest Shacharit (Gra); Sunrise plus 4 halachic hours, according to the Gra.
154
171
  *
155
- * This method returns the latest *zman tfila* (time to recite shema in the morning)
172
+ * This method returns the latest *zman tfila* (time to recite the morning prayers)
156
173
  * that is 4 *shaos zmaniyos* (solar hours) after sunrise or sea level sunrise
157
174
  * (depending on the `useElevation` setting), according
158
175
  * to the [GRA](https://en.wikipedia.org/wiki/Vilna_Gaon).
@@ -162,24 +179,29 @@ export declare class Zmanim {
162
179
  sofZmanTfilla(): Date;
163
180
  /**
164
181
  * This method returns the latest time for burning _chametz_ on _Erev Pesach_ according to the opinion
165
- * of the <a href="https://en.wikipedia.org/wiki/Vilna_Gaon">GRA</a>. This time is 5 hours into the day based on the
166
- * opinion of the <a href="https://en.wikipedia.org/wiki/Vilna_Gaon">GRA</a> that the day is calculated from
167
- * sunrise to sunset. This returns the time 5 * {@link #getShaahZmanisGra()} after {@link #getSeaLevelSunrise() sea
168
- * level sunrise}.
169
- * @return the <code>Date</code> of the latest time for burning _chametz_ on _Erev Pesach_. If it is not
170
- * _erev Pesach_ or the calculation can't be computed such as in the Arctic Circle where there is at least
171
- * one day a year where the sun does not rise, and one where it does not set, a <code>null</code> will be
172
- * returned.
182
+ * of the [GRA](https://en.wikipedia.org/wiki/Vilna_Gaon). This time is 5 halachic hours into the day, based on
183
+ * the opinion of the GRA that the day is calculated from sunrise to sunset.
184
+ *
185
+ * If elevation is enabled, this function will include elevation in the calculation.
186
+ * @return the `Date` of the latest time for burning _chametz_ on _Erev Pesach_. If the calculation can't be
187
+ * computed, such as in the Arctic Circle where there is at least one day a year where the sun does not
188
+ * rise and one where it does not set, an `Invalid Date` will be returned.
173
189
  */
174
190
  sofZmanBiurChametzGRA(): Date;
175
191
  /**
176
- * Returns an array with alot (Date) and ms in hour (number)
177
- * @private
192
+ * Returns a 2-element array with alot (a `Date`, 72 minutes before sunrise)
193
+ * and the length in milliseconds of one halachic hour of the resulting day.
194
+ * Used internally by the Magen Avraham zmanim.
195
+ * @param forceSeaLevel ignore the `useElevation` setting and use sea-level
196
+ * sunrise and sunset
178
197
  */
179
198
  getTemporalHour72(forceSeaLevel: boolean): [Date, number];
180
199
  /**
181
- * Returns an array with alot (Date) and ms in hour (number)
182
- * @private
200
+ * Returns a 2-element array with alot (a `Date`, when the sun is `angle`
201
+ * degrees below the horizon in the morning) and the length in milliseconds
202
+ * of one halachic hour of the resulting day. Used internally by the
203
+ * degree-based Magen Avraham zmanim.
204
+ * @param angle degrees of solar depression below the horizon
183
205
  */
184
206
  getTemporalHourByDeg(angle: number): [Date, number];
185
207
  /**
@@ -229,7 +251,7 @@ export declare class Zmanim {
229
251
  * Earliest Mincha – Mincha Gedola (GRA); Sunrise plus 6.5 halachic hours.
230
252
  * If elevation is enabled, this function will include elevation in the calculation.
231
253
  *
232
- * This method returns the latest mincha gedola, the earliest time one can pray mincha
254
+ * This method returns *mincha gedola*, the earliest time one can pray mincha,
233
255
  * that is 6.5 shaos zmaniyos (solar hours) after sunrise or sea level sunrise
234
256
  * (depending on the `useElevation` setting), according
235
257
  * to the [GRA](https://en.wikipedia.org/wiki/Vilna_Gaon).
@@ -274,12 +296,22 @@ export declare class Zmanim {
274
296
  */
275
297
  plagHaMincha(): Date;
276
298
  /**
277
- * @param [angle=8.5] optional time for solar depression.
278
- * Default is 8.5 degrees for 3 small stars, use 7.083 degrees for 3 medium-sized stars.
299
+ * Nightfall – Tzeit HaKochavim; the sun is `angle` degrees below the
300
+ * horizon in the evening.
301
+ *
279
302
  * Because degree-based functions estimate the amount of light in the sky,
280
303
  * the result is not impacted by elevation.
304
+ * @param [angle=8.5] optional time for solar depression.
305
+ * Default is 8.5 degrees for 3 small stars, use 7.083 degrees for 3 medium-sized stars.
281
306
  */
282
307
  tzeit(angle?: number): Date;
308
+ /**
309
+ * Nightfall – Tzeit HaKochavim; calculated as 72 minutes after sunset
310
+ * (or sea-level sunset, depending on the `useElevation` setting).
311
+ *
312
+ * Returns a `Temporal.ZonedDateTime` with seconds precision, or `null` if
313
+ * sunset cannot be calculated for this date and location.
314
+ */
283
315
  tzeit72(): Temporal.ZonedDateTime | null;
284
316
  /**
285
317
  * Alias for sunrise
@@ -330,12 +362,13 @@ export declare class Zmanim {
330
362
  */
331
363
  private getMoladBasedTime;
332
364
  /**
333
- * Returns the latest time of Kiddush Levana according to the <a
334
- * href="https://en.wikipedia.org/wiki/Yaakov_ben_Moshe_Levi_Moelin">Maharil's</a> opinion that it is calculated as
365
+ * Returns the latest time of Kiddush Levana according to the
366
+ * [Maharil's](https://en.wikipedia.org/wiki/Yaakov_ben_Moshe_Levi_Moelin) opinion that it is calculated as
335
367
  * halfway between _molad_ and _molad_. This adds half the 29 days, 12 hours and 793 chalakim time between
336
368
  * _molad_ and _molad_ (14 days, 18 hours, 22 minutes and 666 milliseconds) to the month's _molad_.
337
- * The _sof zman Kiddush Levana_ will be returned even if it occurs during the day. To limit the time to between
338
- * _tzais_ and _alos_, see {@link getSofZmanKidushLevanaBetweenMoldos}.
369
+ *
370
+ * The _sof zman Kiddush Levana_ will be returned even if it occurs during the day, unless both `alos` and
371
+ * `tzais` are supplied.
339
372
  *
340
373
  * @param alos
341
374
  * the beginning of the Jewish day. If _Kidush Levana_ occurs during the day (starting at _alos_ and
@@ -345,32 +378,38 @@ export declare class Zmanim {
345
378
  * the end of the Jewish day. If Kidush Levana occurs during the day (starting at alos and ending at
346
379
  * tzais), the time returned will be alos. If either the alos or tzais parameters are null, no daytime
347
380
  * adjustment will be made.
348
- * @return the Date representing the moment halfway between molad and molad. If the time occurs between
349
- * _alos_ and _tzais_, _alos_ will be returned. If the _zman_ will not occur on this
350
- * day, a `null` will be returned.
381
+ * @return the `Temporal.ZonedDateTime` representing the moment halfway between molad and molad. If the time
382
+ * occurs between _alos_ and _tzais_, _alos_ will be returned. If the _zman_ will not occur on this
383
+ * day, `null` will be returned.
351
384
  */
352
385
  getSofZmanKidushLevanaBetweenMoldos(alos?: Temporal.ZonedDateTime | null, tzais?: Temporal.ZonedDateTime | null): Temporal.ZonedDateTime | null;
353
386
  /**
354
387
  * Returns the latest time of _Kiddush Levana_ calculated as 15 days after the molad. This is the opinion of
355
388
  * the Shulchan Aruch (Orach Chaim 426). It should be noted that some opinions hold that the
356
- * <a href="https://en.wikipedia.org/wiki/Moses_Isserles">Rema</a> who brings down the opinion of the <a
357
- * href="https://en.wikipedia.org/wiki/Yaakov_ben_Moshe_Levi_Moelin">Maharil's</a> of calculating
358
- * {@link getSofZmanKidushLevanaBetweenMoldos half way between _molad_ and _molad_} is of
359
- * the opinion that the Mechaber agrees to his opinion. Also see the Aruch Hashulchan. For additional details on the subject,
360
- * See Rabbi Dovid Heber's very detailed write-up in Siman Daled (chapter 4) of <a href="https://hebrewbooks.org/53000">Shaarei
361
- * Zmanim</a>. The _sof zman Kiddush Levana_ will be returned even if it occurs during the day. To limit the time to
362
- * between _tzais_ and _alos_, see {@link getSofZmanKidushLevana15Days}.
363
- *
364
- * @return the Date representing the moment 15 days after the _molad_. If the time occurs between
365
- * _alos_ and _tzais_, _alos_ will be returned. If the _zman_ will not occur on this day, a
366
- * `null` will be returned.
389
+ * [Rema](https://en.wikipedia.org/wiki/Moses_Isserles), who brings down the opinion of the
390
+ * [Maharil](https://en.wikipedia.org/wiki/Yaakov_ben_Moshe_Levi_Moelin) of calculating
391
+ * {@link getSofZmanKidushLevanaBetweenMoldos half way between _molad_ and _molad_}, is of
392
+ * the opinion that the Mechaber agrees to his opinion. Also see the Aruch Hashulchan. For additional details on
393
+ * the subject, see Rabbi Dovid Heber's very detailed write-up in Siman Daled (chapter 4) of
394
+ * [Shaarei Zmanim](https://hebrewbooks.org/53000).
367
395
  *
396
+ * The _sof zman Kiddush Levana_ will be returned even if it occurs during the day, unless both `alos` and
397
+ * `tzais` are supplied.
368
398
  *
399
+ * @param alos
400
+ * the beginning of the Jewish day. If either the _alos_ or _tzais_ parameters are null, no daytime
401
+ * adjustment will be made.
402
+ * @param tzais
403
+ * the end of the Jewish day. If either the _alos_ or _tzais_ parameters are null, no daytime
404
+ * adjustment will be made.
405
+ * @return the `Temporal.ZonedDateTime` representing the moment 15 days after the _molad_. If the time occurs
406
+ * between _alos_ and _tzais_, _alos_ will be returned. If the _zman_ will not occur on this day,
407
+ * `null` will be returned.
369
408
  */
370
409
  getSofZmanKidushLevana15Days(alos?: Temporal.ZonedDateTime | null, tzais?: Temporal.ZonedDateTime | null): Temporal.ZonedDateTime | null;
371
410
  /**
372
- * Returns the earliest time of _Kiddush Levana_ according to <a href=
373
- * "https://en.wikipedia.org/wiki/Yonah_Gerondi">Rabbeinu Yonah</a>'s opinion that it can be said 3 days after the _molad_.
411
+ * Returns the earliest time of _Kiddush Levana_ according to
412
+ * [Rabbeinu Yonah](https://en.wikipedia.org/wiki/Yonah_Gerondi)'s opinion that it can be said 3 days after the _molad_.
374
413
  * If the time of _tchilas zman Kiddush Levana_ occurs during the day (between _alos_ and _tzais_ passed to
375
414
  * this method) it will return the following _tzais_. If null is passed for either _alos_ or _tzais_, the actual
376
415
  * _tchilas zman Kiddush Levana_ will be returned, regardless of if it is during the day or not.
@@ -384,64 +423,66 @@ export declare class Zmanim {
384
423
  * _tzais_), the time returned will be _tzais_. If either the _alos_ or _tzais_ parameters
385
424
  * are null, no daytime adjustment will be made.
386
425
  *
387
- * @return the Date representing the moment 3 days after the molad. If the time occurs between _alos_ and
388
- * _tzais_, _tzais_ will be returned. If the _zman_ will not occur on this day, a
426
+ * @return the `Temporal.ZonedDateTime` representing the moment 3 days after the molad. If the time occurs
427
+ * between _alos_ and _tzais_, _tzais_ will be returned. If the _zman_ will not occur on this day,
389
428
  * `null` will be returned.
390
429
  */
391
430
  getTchilasZmanKidushLevana3Days(alos?: Temporal.ZonedDateTime | null, tzais?: Temporal.ZonedDateTime | null): Temporal.ZonedDateTime | null;
392
431
  /**
393
- * Returns the point in time of _Molad_ as a <code>Date</code> Object. For the traditional day of week, hour,
394
- * minute and chalakim, {@link Molad.getInstant()} and the not yet completed
395
- * {@link HebrewDateFormatter} that will have formatting for this.
396
- *
397
- * @return the Date representing the moment of the molad. If the _molad_ does not occur on this day, a
398
- * `null` will be returned.
432
+ * Returns the point in time of the _Molad_, if it occurs on this date. For the traditional day of week, hour,
433
+ * minute and chalakim, see {@link Molad} and its {@link Molad.render} method.
399
434
  *
435
+ * @return the `Temporal.ZonedDateTime` representing the moment of the molad. If the _molad_ does not occur on
436
+ * this day, `null` will be returned.
400
437
  */
401
438
  getZmanMolad(): Temporal.ZonedDateTime | null;
402
439
  /**
403
440
  * Returns the earliest time of _Kiddush Levana_ according to the opinions that it should not be said until 7
404
441
  * days after the _molad_. The time will be returned even if it occurs during the day when _Kiddush Levana_
405
- * can't be recited. Use {@link getTchilasZmanKidushLevana7Days} if you want to limit the time to night hours.
442
+ * can't be recited, unless both `alos` and `tzais` are supplied.
406
443
  *
407
- * @return the Date representing the moment 7 days after the molad regardless of it is day or night. If the _zman_
408
- * will not occur on this day, a `null` will be returned.
444
+ * @param alos
445
+ * the beginning of the Jewish day. If _Kidush Levana_ occurs during the day (starting at _alos_ and
446
+ * ending at _tzais_), the time returned will be _tzais_. If either the _alos_ or _tzais_ parameters
447
+ * are null, no daytime adjustment will be made.
448
+ * @param tzais
449
+ * the end of the Jewish day. If either the _alos_ or _tzais_ parameters are null, no daytime
450
+ * adjustment will be made.
451
+ * @return the `Temporal.ZonedDateTime` representing the moment 7 days after the molad. If the _zman_
452
+ * will not occur on this day, `null` will be returned.
409
453
  */
410
454
  getTchilasZmanKidushLevana7Days(alos?: Temporal.ZonedDateTime | null, tzais?: Temporal.ZonedDateTime | null): Temporal.ZonedDateTime | null;
411
455
  /**
412
- * A method that returns the <a href="https://en.wikipedia.org/wiki/Shneur_Zalman_of_Liadi">Baal Hatanya</a>'s
456
+ * A method that returns the [Baal Hatanya](https://en.wikipedia.org/wiki/Shneur_Zalman_of_Liadi)'s
413
457
  * _netz amiti_ (sunrise) without
414
458
  * elevation adjustment. This forms the base for the Baal Hatanya's dawn-based calculations that are
415
459
  * calculated as a dip below the horizon before sunrise.
416
460
  *
417
461
  * According to the Baal Hatanya, _netz amiti_, or true (halachic) sunrise, is when the top of the sun's
418
462
  * disk is visible at an elevation similar to the mountains of Eretz Yisrael. The time is calculated as the point at which
419
- * the center of the sun's disk is 1.583&deg; below the horizon. This degree-based calculation can be found in Rabbi Shalom
420
- * DovBer Levine's commentary on The <a href="https://www.chabadlibrary.org/books/pdf/Seder-Hachnosas-Shabbos.pdf">Baal
421
- * Hatanya's Seder Hachnasas Shabbos</a>. From an elevation of 546 meters, the top of <a href=
422
- * "https://en.wikipedia.org/wiki/Mount_Carmel">Har Hacarmel</a>, the sun disappears when it is 1&deg; 35' or 1.583&deg;
423
- * below the sea level horizon. This in turn is based on the Gemara <a href=
424
- * "https://hebrewbooks.org/shas.aspx?mesechta=2&daf=35">Shabbos 35a</a>. There are other opinions brought down by
463
+ * the center of the sun's disk is 1.583° below the horizon. This degree-based calculation can be found in Rabbi Shalom
464
+ * DovBer Levine's commentary on
465
+ * [The Baal Hatanya's Seder Hachnasas Shabbos](https://www.chabadlibrary.org/books/pdf/Seder-Hachnosas-Shabbos.pdf).
466
+ * From an elevation of 546 meters, the top of [Har Hacarmel](https://en.wikipedia.org/wiki/Mount_Carmel),
467
+ * the sun disappears when it is 1° 35' or 1.583° below the sea level horizon. This in turn is based on the Gemara
468
+ * [Shabbos 35a](https://hebrewbooks.org/shas.aspx?mesechta=2&daf=35). There are other opinions brought down by
425
469
  * Rabbi Levine, including Rabbi Yosef Yitzchok Feigelstock who calculates it as the degrees below the horizon 4 minutes after
426
- * sunset in Yerushalayim (on the equinox). That is brought down as 1.583&deg;. This is identical to the 1&deg; 35' _zman_
427
- * and is probably a typo and should be 1.683&deg;. These calculations are used by most <a href=
428
- * "https://en.wikipedia.org/wiki/Chabad">Chabad</a> calendars that use the Baal Hatanya's _zmanim_. See
429
- * <a href="https://www.chabad.org/library/article_cdo/aid/3209349/jewish/About-Our-Zmanim-Calculations.htm">About Our
430
- * _Zmanim_ Calculations @ Chabad.org</a>.
470
+ * sunset in Yerushalayim (on the equinox). That is brought down as 1.583°. This is identical to the 1° 35' _zman_
471
+ * and is probably a typo and should be 1.683°. These calculations are used by most
472
+ * [Chabad](https://en.wikipedia.org/wiki/Chabad) calendars that use the Baal Hatanya's _zmanim_. See
473
+ * [About Our Zmanim Calculations @ Chabad.org](https://www.chabad.org/library/article_cdo/aid/3209349/jewish/About-Our-Zmanim-Calculations.htm).
431
474
  *
432
475
  * Note: _netz amiti_ is used only for calculating certain _zmanim_, and is intentionally unpublished. For
433
476
  * practical purposes, daytime _mitzvos_ like _shofar_ and _lulav_ should not be done until after the
434
477
  * published time for _netz_ / sunrise.
435
478
  *
436
- * @return the <code>Date</code> representing the exact sea level _netz amiti_ (sunrise) time. If the calculation can't be
437
- * computed such as in the Arctic Circle where there is at least one day a year where the sun does not rise, and one
438
- * where it does not set, a `null` will be returned. See detailed explanation on top of the page.
439
- *
440
- * @see ZENITH_1_POINT_583
479
+ * @return the exact sea level _netz amiti_ (sunrise) time. If the calculation can't be
480
+ * computed, such as in the Arctic Circle where there is at least one day a year where the sun does not rise, and one
481
+ * where it does not set, `null` will be returned.
441
482
  */
442
483
  private getSunriseBaalHatanya;
443
484
  /**
444
- * A method that returns the <a href="https://en.wikipedia.org/wiki/Shneur_Zalman_of_Liadi">Baal Hatanya</a>'s
485
+ * A method that returns the [Baal Hatanya](https://en.wikipedia.org/wiki/Shneur_Zalman_of_Liadi)'s
445
486
  * _shkiah amiti_ (sunset) without
446
487
  * elevation adjustment. This forms the base for the Baal Hatanya's dusk-based calculations that are calculated
447
488
  * as a dip below the horizon after sunset.
@@ -454,110 +495,104 @@ export declare class Zmanim {
454
495
  * practical purposes, all daytime mitzvos should be completed before the published time for _shkiah_ / sunset.
455
496
  *
456
497
  * For further explanation of the calculations used for the Baal Hatanya's _zmanim_ in this library, see
457
- * <a href="https://www.chabad.org/library/article_cdo/aid/3209349/jewish/About-Our-Zmanim-Calculations.htm">About Our
458
- * _Zmanim_ Calculations @ Chabad.org</a>.
459
- *
460
- * @return the <code>Date</code> representing the exact sea level _shkiah amiti_ (sunset) time. If the calculation
461
- * can't be computed such as in the Arctic Circle where there is at least one day a year where the sun does not
462
- * rise, and one where it does not set, a `null` will be returned.
498
+ * [About Our Zmanim Calculations @ Chabad.org](https://www.chabad.org/library/article_cdo/aid/3209349/jewish/About-Our-Zmanim-Calculations.htm).
463
499
  *
464
- * @see ZENITH_1_POINT_583
500
+ * @return the exact sea level _shkiah amiti_ (sunset) time. If the calculation
501
+ * can't be computed, such as in the Arctic Circle where there is at least one day a year where the sun does not
502
+ * rise, and one where it does not set, `null` will be returned.
465
503
  */
466
504
  private getSunsetBaalHatanya;
467
505
  /**
468
- * Returns the <a href="https://en.wikipedia.org/wiki/Shneur_Zalman_of_Liadi">Baal Hatanya</a>'s _alos_
469
- * (dawn) calculated as the time when the sun is 16.9&deg; below the eastern {@link GEOMETRIC_ZENITH geometric horizon}
470
- * before {@link getSunrise() sunrise}.
506
+ * Returns the [Baal Hatanya](https://en.wikipedia.org/wiki/Shneur_Zalman_of_Liadi)'s _alos_
507
+ * (dawn) calculated as the time when the sun is 16.9° below the eastern geometric horizon
508
+ * before {@link sunrise}.
471
509
  *
472
- * The zenith of 16.9&deg; below is based on the calculation that the time between dawn
473
- * and _netz amiti_ (sunrise) is 72 minutes, the time that is takes to walk 4 mil at 18 minutes
474
- * a mil (<a href="https://en.wikipedia.org/wiki/Maimonides">Rambam</a> and others). The sun's position at 72
475
- * minutes before {@link getSunriseBaalHatanya _netz amiti_ (sunrise)} in Jerusalem <a href=
476
- * "https://kosherjava.com/2022/01/12/equinox-vs-equilux-zmanim-calculations/">around the equinox / equilux</a> is
477
- * 16.9&deg; below {@link GEOMETRIC_ZENITH geometric zenith}.
510
+ * The zenith of 16.9° below is based on the calculation that the time between dawn
511
+ * and _netz amiti_ (sunrise) is 72 minutes, the time that it takes to walk 4 mil at 18 minutes
512
+ * a mil ([Rambam](https://en.wikipedia.org/wiki/Maimonides) and others). The sun's position at 72
513
+ * minutes before _netz amiti_ (sunrise) in Jerusalem
514
+ * [around the equinox / equilux](https://kosherjava.com/2022/01/12/equinox-vs-equilux-zmanim-calculations/)
515
+ * is 16.9° below geometric zenith.
478
516
  *
479
- * @return The <code>Date</code> of dawn. If the calculation can't be computed such as northern and southern
517
+ * @return the `Date` of dawn. If the calculation can't be computed, such as in northern and southern
480
518
  * locations even south of the Arctic Circle and north of the Antarctic Circle where the sun may not reach
481
- * low enough below the horizon for this calculation, a `null` will be returned. */
519
+ * low enough below the horizon for this calculation, an `Invalid Date` will be returned.
520
+ */
482
521
  alosBaalHatanya(): Date;
483
522
  private getShaahZmanisBaalHatanya;
484
523
  /**
485
524
  * This method returns the latest _zman krias shema_ (time to recite Shema in the morning). This time is 3
486
- * {@link shaahZmanisBaalHatanya() _shaos zmaniyos_} (solar hours) after {@link getSunriseBaalHatanya()
487
- * _netz amiti_ (sunrise)} based on the opinion of the Baal Hatanya that the day is calculated from
488
- * sunrise to sunset. This returns the time 3 * {@link getShaahZmanisBaalHatanya()} after {@link getSunriseBaalHatanya()
489
- * _netz amiti_ (sunrise)}.
525
+ * _shaos zmaniyos_ (solar hours) after _netz amiti_ (sunrise), based on the opinion of the Baal Hatanya
526
+ * that the day is calculated from _netz amiti_ (sunrise) to _shkiah amiti_ (sunset).
490
527
  *
491
- * @return the <code>Date</code> of the latest _zman shema_ according to the Baal Hatanya. If the calculation
492
- * can't be computed such as in the Arctic Circle where there is at least one day a year where the sun does
493
- * not rise, and one where it does not set, a `null` will be returned.
528
+ * @return the `Date` of the latest _zman shema_ according to the Baal Hatanya. If the calculation
529
+ * can't be computed, such as in the Arctic Circle where there is at least one day a year where the sun does
530
+ * not rise and one where it does not set, an `Invalid Date` will be returned.
494
531
  */
495
532
  sofZmanShmaBaalHatanya(): Date;
496
533
  /**
497
534
  * This method returns the latest _zman tfilah_ (time to recite the morning prayers). This time is 4
498
- * hours into the day based on the opinion of the Baal Hatanya that the day is
499
- * calculated from sunrise to sunset. This returns the time 4 * {@link getShaahZmanisBaalHatanya()} after
500
- * {@link getSunriseBaalHatanya() _netz amiti_ (sunrise)}.
535
+ * halachic hours into the day, based on the opinion of the Baal Hatanya that the day is
536
+ * calculated from _netz amiti_ (sunrise) to _shkiah amiti_ (sunset).
501
537
  *
502
- * @return the <code>Date</code> of the latest _zman tfilah_. If the calculation can't be computed such as in
503
- * the Arctic Circle where there is at least one day a year where the sun does not rise, and one where it does
504
- * not set, a `null` will be returned.
538
+ * @return the `Date` of the latest _zman tfilah_. If the calculation can't be computed, such as in
539
+ * the Arctic Circle where there is at least one day a year where the sun does not rise and one where it does
540
+ * not set, an `Invalid Date` will be returned.
505
541
  */
506
542
  sofZmanTfilaBaalHatanya(): Date;
507
543
  /**
508
544
  * This method returns the time of _mincha gedola_. _Mincha gedola_ is the earliest time one can pray
509
- * _mincha_. The <a href="https://en.wikipedia.org/wiki/Maimonides">Rambam</a> is of the opinion that it is
510
- * better to delay _mincha_ until {@link minchaKetanaBaalHatanya() _mincha ketana_} while the
511
- * <a href="https://en.wikipedia.org/wiki/Asher_ben_Jehiel">Ra"sh</a>,
512
- * <a href="https://en.wikipedia.org/wiki/Jacob_ben_Asher">Tur</a>, <a href=
513
- * "https://en.wikipedia.org/wiki/Vilna_Gaon">GRA</a> and others are of the opinion that _mincha_ can be prayed
514
- * _lechatchila_ starting at _mincha gedola_. This is calculated as 6.5 {@link getShaahZmanisBaalHatanya()
515
- * sea level solar hours} after {@link getSunriseBaalHatanya() _netz amiti_ (sunrise)}. This calculation is based
516
- * on the opinion of the Baal Hatanya that the day is calculated from sunrise to sunset. This returns the time 6.5
517
- * * {@link getShaahZmanisBaalHatanya()} after {@link getSunriseBaalHatanya() _netz amiti_ ("real" sunrise)}.
518
- * @return the <code>Date</code> of the time of _mincha gedola_ according to the Baal Hatanya. If the calculation
519
- * 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,
520
- * and one where it does not set, a `null` will be returned.
545
+ * _mincha_. The [Rambam](https://en.wikipedia.org/wiki/Maimonides) is of the opinion that it is
546
+ * better to delay _mincha_ until {@link minchaKetanaBaalHatanya | _mincha ketana_} while the
547
+ * [Ra"sh](https://en.wikipedia.org/wiki/Asher_ben_Jehiel),
548
+ * [Tur](https://en.wikipedia.org/wiki/Jacob_ben_Asher),
549
+ * [GRA](https://en.wikipedia.org/wiki/Vilna_Gaon) and others are of the opinion that _mincha_ can be prayed
550
+ * _lechatchila_ starting at _mincha gedola_. This is calculated as 6.5 sea level solar hours after
551
+ * _netz amiti_ (sunrise), based on the opinion of the Baal Hatanya that the day is calculated from
552
+ * _netz amiti_ (sunrise) to _shkiah amiti_ (sunset).
553
+ * @return the `Date` of the time of _mincha gedola_ according to the Baal Hatanya. If the calculation
554
+ * 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
555
+ * and one where it does not set, an `Invalid Date` will be returned.
521
556
  */
522
557
  minchaGedolaBaalHatanya(): Date;
523
558
  /**
524
559
  * This method returns the time of _mincha ketana_. This is the preferred earliest time to pray
525
- * _mincha_ in the opinion of the <a href="https://en.wikipedia.org/wiki/Maimonides">Rambam</a> and others.
526
- * For more information on this see the documentation on {@link minchaGedolaBaalHatanya() _mincha gedola_}.
527
- * This is calculated as 9.5 sea level solar hours after {@link getSunriseBaalHatanya
528
- * _netz amiti_ (sunrise)}. This calculation is calculated based on the opinion of the Baal Hatanya that the
529
- * day is calculated from sunrise to sunset. This returns the time 9.5 * after
530
- * _netz amiti_ (sunrise).
560
+ * _mincha_ in the opinion of the [Rambam](https://en.wikipedia.org/wiki/Maimonides) and others.
561
+ * For more information on this see the documentation on {@link minchaGedolaBaalHatanya | _mincha gedola_}.
562
+ * This is calculated as 9.5 sea level solar hours after _netz amiti_ (sunrise), based on the opinion of
563
+ * the Baal Hatanya that the day is calculated from _netz amiti_ (sunrise) to _shkiah amiti_ (sunset).
531
564
  *
532
- * @return the <code>Date</code> of the time of _mincha ketana_. If the calculation can't be computed such as
533
- * in the Arctic Circle where there is at least one day a year where the sun does not rise, and one where it
534
- * does not set, a `null` will be returned.
565
+ * @return the `Date` of the time of _mincha ketana_. If the calculation can't be computed, such as
566
+ * in the Arctic Circle where there is at least one day a year where the sun does not rise and one where it
567
+ * does not set, an `Invalid Date` will be returned.
535
568
  */
536
569
  minchaKetanaBaalHatanya(): Date;
537
570
  /**
538
- * This method returns the time of _plag hamincha_. This is calculated as 10.75 hours after sunrise. This
539
- * calculation is based on the opinion of the Baal Hatanya that the day is calculated
540
- * from sunrise to sunset. This returns the time 10.75 * {@link getShaahZmanisBaalHatanya()} after
541
- * {@link getSunriseBaalHatanya() _netz amiti_ (sunrise)}.
571
+ * This method returns the time of _plag hamincha_. This is calculated as 10.75 sea level solar hours
572
+ * after _netz amiti_ (sunrise), based on the opinion of the Baal Hatanya that the day is calculated
573
+ * from _netz amiti_ (sunrise) to _shkiah amiti_ (sunset).
542
574
  *
543
- * @return the <code>Date</code> of the time of _plag hamincha_. If the calculation can't be computed such as
544
- * in the Arctic Circle where there is at least one day a year where the sun does not rise, and one where it
545
- * does not set, a `null` will be returned.
575
+ * @return the `Date` of the time of _plag hamincha_ according to the Baal Hatanya. If the calculation
576
+ * can't be computed, such as in the Arctic Circle where there is at least one day a year where the sun does
577
+ * not rise and one where it does not set, an `Invalid Date` will be returned.
546
578
  */
547
579
  plagHaminchaBaalHatanya(): Date;
548
580
  /**
549
- * A method that returns _tzais_ (nightfall) when the sun is 6&deg; below the western geometric horizon
550
- * (90&deg;) after {@link getSunset() sunset}. For information on the source of this calculation see
551
- * {@link ZENITH_6_DEGREES}.
581
+ * A method that returns _tzais_ (nightfall) when the sun is 6° below the western geometric horizon
582
+ * (90°) after {@link sunset}. This is the time the Baal Hatanya calls _shkiah amiti_ plus the
583
+ * interval it takes the sun to descend a further 6°.
552
584
  *
553
- * @return The <code>Date</code> of nightfall. If the calculation can't be computed such as northern and southern
554
- * locations even south of the Arctic Circle and north of the Antarctic Circle where the sun may not reach
555
- * low enough below the horizon for this calculation, a `null` will be returned. * @see ZENITH_6_DEGREES
585
+ * @return the `Date` of nightfall. If the calculation can't be computed, such as in northern and southern
586
+ * locations — even south of the Arctic Circle and north of the Antarctic Circle — where the sun may not
587
+ * reach low enough below the horizon for this calculation, an `Invalid Date` will be returned.
556
588
  */
557
589
  tzaisBaalHatanya(): Date;
558
590
  /**
559
591
  * Uses timeFormat to return a date like '20:34'.
560
592
  * Returns `XX:XX` if the date is invalid.
593
+ * @param dt the time to format
594
+ * @param timeFormat formatter to use, e.g. from
595
+ * {@link Location.getTimeFormatter}
561
596
  */
562
597
  static formatTime(dt: Date, timeFormat: Intl.DateTimeFormat): string;
563
598
  /**
@@ -606,7 +641,7 @@ export declare class Zmanim {
606
641
  * (for example `2024-09-22T20:07`), this function would return a
607
642
  * Hebrew date of `20th of Elul, 5784`.
608
643
  * @example
609
- * const {GeoLocation, Zmanim, HDate} = require('@hebcal/core');
644
+ * import {GeoLocation, Zmanim, HDate} from '@hebcal/core';
610
645
  * const latitude = 48.85341;
611
646
  * const longitude = 2.3488;
612
647
  * const timezone = 'Europe/Paris';