@hebcal/core 5.4.3 → 5.4.4

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/index.cjs CHANGED
@@ -1,4 +1,4 @@
1
- /*! @hebcal/core v5.4.3 */
1
+ /*! @hebcal/core v5.4.4 */
2
2
  'use strict';
3
3
 
4
4
  /* eslint-disable @typescript-eslint/no-namespace, no-inner-declarations */
@@ -8023,6 +8023,12 @@ class Zmanim {
8023
8023
  }
8024
8024
  /**
8025
8025
  * Latest Shacharit (Gra); Sunrise plus 4 halachic hours, according to the Gra.
8026
+ *
8027
+ * This method returns the latest *zman tfila* (time to recite shema in the morning)
8028
+ * that is 4 *shaos zmaniyos* (solar hours) after sunrise or sea level sunrise
8029
+ * (depending on the `useElevation` setting), according
8030
+ * to the [GRA](https://en.wikipedia.org/wiki/Vilna_Gaon).
8031
+ *
8026
8032
  * If elevation is enabled, this function will include elevation in the calculation.
8027
8033
  * @return {Date}
8028
8034
  */
@@ -8032,19 +8038,16 @@ class Zmanim {
8032
8038
  /**
8033
8039
  * Returns an array with alot (Date) and ms in hour (number)
8034
8040
  * @private
8035
- * @return {any[]}
8036
8041
  */
8037
- getTemporalHour72() {
8038
- const alot72 = this.sunriseOffset(-72, false, true);
8039
- const tzeit72 = this.sunsetOffset(72, false, true);
8042
+ getTemporalHour72(forceSeaLevel) {
8043
+ const alot72 = this.sunriseOffset(-72, false, forceSeaLevel);
8044
+ const tzeit72 = this.sunsetOffset(72, false, forceSeaLevel);
8040
8045
  const temporalHour = (tzeit72.getTime() - alot72.getTime()) / 12;
8041
8046
  return [alot72, temporalHour];
8042
8047
  }
8043
8048
  /**
8044
8049
  * Returns an array with alot (Date) and ms in hour (number)
8045
8050
  * @private
8046
- * @param {number} angle
8047
- * @return {any[]}
8048
8051
  */
8049
8052
  getTemporalHourByDeg(angle) {
8050
8053
  const alot = this.timeAtAngle(angle, true);
@@ -8060,8 +8063,9 @@ class Zmanim {
8060
8063
  * @return {Date}
8061
8064
  */
8062
8065
  sofZmanShmaMGA() {
8063
- const [alot72, temporalHour] = this.getTemporalHour72();
8064
- return new Date(alot72.getTime() + (3 * temporalHour));
8066
+ const [alot72, temporalHour] = this.getTemporalHour72(true);
8067
+ const offset = Math.floor(3 * temporalHour);
8068
+ return new Date(alot72.getTime() + offset);
8065
8069
  }
8066
8070
  /**
8067
8071
  * Latest Shema (MGA); Sunrise plus 3 halachic hours, according to Magen Avraham.
@@ -8071,7 +8075,8 @@ class Zmanim {
8071
8075
  */
8072
8076
  sofZmanShmaMGA16Point1() {
8073
8077
  const [alot, temporalHour] = this.getTemporalHourByDeg(16.1);
8074
- return new Date(alot.getTime() + (3 * temporalHour));
8078
+ const offset = Math.floor(3 * temporalHour);
8079
+ return new Date(alot.getTime() + offset);
8075
8080
  }
8076
8081
  /**
8077
8082
  * Latest Shema (MGA); Sunrise plus 3 halachic hours, according to Magen Avraham.
@@ -8085,15 +8090,17 @@ class Zmanim {
8085
8090
  */
8086
8091
  sofZmanShmaMGA19Point8() {
8087
8092
  const [alot, temporalHour] = this.getTemporalHourByDeg(19.8);
8088
- return new Date(alot.getTime() + (3 * temporalHour));
8093
+ const offset = Math.floor(3 * temporalHour);
8094
+ return new Date(alot.getTime() + offset);
8089
8095
  }
8090
8096
  /**
8091
8097
  * Latest Shacharit (MGA); Sunrise plus 4 halachic hours, according to Magen Avraham
8092
8098
  * @return {Date}
8093
8099
  */
8094
8100
  sofZmanTfillaMGA() {
8095
- const [alot72, temporalHour] = this.getTemporalHour72();
8096
- return new Date(alot72.getTime() + (4 * temporalHour));
8101
+ const [alot72, temporalHour] = this.getTemporalHour72(true);
8102
+ const offset = Math.floor(4 * temporalHour);
8103
+ return new Date(alot72.getTime() + offset);
8097
8104
  }
8098
8105
  /**
8099
8106
  * Latest Shacharit (MGA); Sunrise plus 4 halachic hours, according to Magen Avraham.
@@ -8103,7 +8110,8 @@ class Zmanim {
8103
8110
  */
8104
8111
  sofZmanTfillaMGA16Point1() {
8105
8112
  const [alot, temporalHour] = this.getTemporalHourByDeg(16.1);
8106
- return new Date(alot.getTime() + (4 * temporalHour));
8113
+ const offset = Math.floor(4 * temporalHour);
8114
+ return new Date(alot.getTime() + offset);
8107
8115
  }
8108
8116
  /**
8109
8117
  * Latest Shacharit (MGA); Sunrise plus 4 halachic hours, according to Magen Avraham.
@@ -8117,24 +8125,67 @@ class Zmanim {
8117
8125
  */
8118
8126
  sofZmanTfillaMGA19Point8() {
8119
8127
  const [alot, temporalHour] = this.getTemporalHourByDeg(19.8);
8120
- return new Date(alot.getTime() + (4 * temporalHour));
8128
+ const offset = Math.floor(4 * temporalHour);
8129
+ return new Date(alot.getTime() + offset);
8121
8130
  }
8122
8131
  /**
8123
- * Earliest Mincha – Mincha Gedola; Sunrise plus 6.5 halachic hours.
8132
+ * Earliest Mincha – Mincha Gedola (GRA); Sunrise plus 6.5 halachic hours.
8124
8133
  * If elevation is enabled, this function will include elevation in the calculation.
8134
+ *
8135
+ * This method returns the latest mincha gedola, the earliest time one can pray mincha
8136
+ * that is 6.5 shaos zmaniyos (solar hours) after sunrise or sea level sunrise
8137
+ * (depending on the `useElevation` setting), according
8138
+ * to the [GRA](https://en.wikipedia.org/wiki/Vilna_Gaon).
8139
+ *
8140
+ * The Ramba"m is of the opinion that it is better to delay *mincha* until
8141
+ * *mincha ketana* while the Ra"sh, Tur, GRA and others are of the
8142
+ * opinion that *mincha* can be prayed *lechatchila* starting at *mincha gedola*.
8125
8143
  * @return {Date}
8126
8144
  */
8127
8145
  minchaGedola() {
8128
8146
  return this.getShaahZmanisBasedZman(6.5);
8129
8147
  }
8148
+ /**
8149
+ * Earliest Mincha – Mincha Gedola (MGA); Sunrise plus 6.5 halachic hours.
8150
+ * If elevation is enabled, this function will include elevation in the calculation.
8151
+ *
8152
+ * This method returns the time of *mincha gedola* according to the Magen Avraham
8153
+ * with the day starting 72 minutes before sunrise and ending 72 minutes after sunset.
8154
+ * This is the earliest time to pray *mincha*.
8155
+ * @return {Date}
8156
+ */
8157
+ minchaGedolaMGA() {
8158
+ const [alot72, temporalHour] = this.getTemporalHour72(false);
8159
+ const offset = Math.floor(6.5 * temporalHour);
8160
+ return new Date(alot72.getTime() + offset);
8161
+ }
8130
8162
  /**
8131
8163
  * Preferable earliest time to recite Minchah – Mincha Ketana; Sunrise plus 9.5 halachic hours.
8132
8164
  * If elevation is enabled, this function will include elevation in the calculation.
8165
+ *
8166
+ * This method returns *mincha ketana*, the preferred earliest time to pray *mincha* in the
8167
+ * opinion of the [Rambam](https://en.wikipedia.org/wiki/Maimonides) and others,
8168
+ * that is 9.5 *shaos zmaniyos* (solar hours) after sunrise or sea level sunrise
8169
+ * (depending on the `useElevation` setting), according
8170
+ * to the [GRA](https://en.wikipedia.org/wiki/Vilna_Gaon).
8133
8171
  * @return {Date}
8134
8172
  */
8135
8173
  minchaKetana() {
8136
8174
  return this.getShaahZmanisBasedZman(9.5);
8137
8175
  }
8176
+ /**
8177
+ * This method returns the time of *mincha ketana* according to the Magen Avraham
8178
+ * with the day starting 72 minutes before sunrise and ending 72 minutes after sunset.
8179
+ * This is the preferred earliest time to pray *mincha* according to the opinion of
8180
+ * the [Rambam](https://en.wikipedia.org/wiki/Maimonides) and others.
8181
+ *
8182
+ * If elevation is enabled, this function will include elevation in the calculation.
8183
+ * @return {Date}
8184
+ */
8185
+ minchaKetanaMGA() {
8186
+ const [alot72, temporalHour] = this.getTemporalHour72(false);
8187
+ return new Date(alot72.getTime() + Math.floor(9.5 * temporalHour));
8188
+ }
8138
8189
  /**
8139
8190
  * Plag haMincha; Sunrise plus 10.75 halachic hours.
8140
8191
  * If elevation is enabled, this function will include elevation in the calculation.
@@ -10009,7 +10060,7 @@ class DailyLearning {
10009
10060
  }
10010
10061
 
10011
10062
  /** DO NOT EDIT THIS AUTO-GENERATED FILE! */
10012
- const version = '5.4.3';
10063
+ const version = '5.4.4';
10013
10064
 
10014
10065
  /* eslint-disable max-len */
10015
10066
  /**
@@ -10865,20 +10916,7 @@ function checkCandleOptions(options) {
10865
10916
  }
10866
10917
  let min = Number(options.candleLightingMins) || 18;
10867
10918
  if (location.getIsrael() && Math.abs(min) === 18) {
10868
- const geoid = location.getGeoId();
10869
- if (geoid) {
10870
- const offset = geoIdCandleOffset[geoid];
10871
- if (typeof offset === 'number') {
10872
- min = offset;
10873
- }
10874
- }
10875
- const shortName = location.getShortName();
10876
- if (shortName) {
10877
- const offset = israelCityOffset[shortName];
10878
- if (typeof offset === 'number') {
10879
- min = offset;
10880
- }
10881
- }
10919
+ min = overrideIsraelCandleMins(location, min);
10882
10920
  }
10883
10921
  options.candleLightingMins = -1 * Math.abs(min);
10884
10922
  if (typeof options.havdalahMins === 'number') {
@@ -10894,6 +10932,23 @@ function checkCandleOptions(options) {
10894
10932
  options.fastEndDeg = TZEIT_3MEDIUM_STARS;
10895
10933
  }
10896
10934
  }
10935
+ function overrideIsraelCandleMins(location, min) {
10936
+ const geoid = location.getGeoId();
10937
+ if (geoid) {
10938
+ const offset = geoIdCandleOffset[geoid];
10939
+ if (typeof offset === 'number') {
10940
+ return offset;
10941
+ }
10942
+ }
10943
+ const shortName = location.getShortName();
10944
+ if (shortName) {
10945
+ const offset = israelCityOffset[shortName];
10946
+ if (typeof offset === 'number') {
10947
+ return offset;
10948
+ }
10949
+ }
10950
+ return min;
10951
+ }
10897
10952
  /**
10898
10953
  * Mask to filter Holiday array
10899
10954
  * @private
package/dist/index.d.ts CHANGED
@@ -10,6 +10,7 @@ export { Zmanim } from './zmanim';
10
10
  export { TimedEvent, CandleLightingEvent, HavdalahEvent } from './TimedEvent';
11
11
  export { Molad, MoladEvent } from './molad';
12
12
  export { OmerEvent } from './omer';
13
+ export { TachanunResult } from './tachanun';
13
14
  export { Sedra, parshiot } from './sedra';
14
15
  export { ParshaEvent } from './ParshaEvent';
15
16
  export { HolidayEvent, AsaraBTevetEvent, RoshChodeshEvent, RoshHashanaEvent } from './HolidayEvent';
package/dist/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- /*! @hebcal/core v5.4.3 */
1
+ /*! @hebcal/core v5.4.4 */
2
2
  /* eslint-disable @typescript-eslint/no-namespace, no-inner-declarations */
3
3
  /** @private */
4
4
  const lengths = [0, 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];
@@ -8021,6 +8021,12 @@ class Zmanim {
8021
8021
  }
8022
8022
  /**
8023
8023
  * Latest Shacharit (Gra); Sunrise plus 4 halachic hours, according to the Gra.
8024
+ *
8025
+ * This method returns the latest *zman tfila* (time to recite shema in the morning)
8026
+ * that is 4 *shaos zmaniyos* (solar hours) after sunrise or sea level sunrise
8027
+ * (depending on the `useElevation` setting), according
8028
+ * to the [GRA](https://en.wikipedia.org/wiki/Vilna_Gaon).
8029
+ *
8024
8030
  * If elevation is enabled, this function will include elevation in the calculation.
8025
8031
  * @return {Date}
8026
8032
  */
@@ -8030,19 +8036,16 @@ class Zmanim {
8030
8036
  /**
8031
8037
  * Returns an array with alot (Date) and ms in hour (number)
8032
8038
  * @private
8033
- * @return {any[]}
8034
8039
  */
8035
- getTemporalHour72() {
8036
- const alot72 = this.sunriseOffset(-72, false, true);
8037
- const tzeit72 = this.sunsetOffset(72, false, true);
8040
+ getTemporalHour72(forceSeaLevel) {
8041
+ const alot72 = this.sunriseOffset(-72, false, forceSeaLevel);
8042
+ const tzeit72 = this.sunsetOffset(72, false, forceSeaLevel);
8038
8043
  const temporalHour = (tzeit72.getTime() - alot72.getTime()) / 12;
8039
8044
  return [alot72, temporalHour];
8040
8045
  }
8041
8046
  /**
8042
8047
  * Returns an array with alot (Date) and ms in hour (number)
8043
8048
  * @private
8044
- * @param {number} angle
8045
- * @return {any[]}
8046
8049
  */
8047
8050
  getTemporalHourByDeg(angle) {
8048
8051
  const alot = this.timeAtAngle(angle, true);
@@ -8058,8 +8061,9 @@ class Zmanim {
8058
8061
  * @return {Date}
8059
8062
  */
8060
8063
  sofZmanShmaMGA() {
8061
- const [alot72, temporalHour] = this.getTemporalHour72();
8062
- return new Date(alot72.getTime() + (3 * temporalHour));
8064
+ const [alot72, temporalHour] = this.getTemporalHour72(true);
8065
+ const offset = Math.floor(3 * temporalHour);
8066
+ return new Date(alot72.getTime() + offset);
8063
8067
  }
8064
8068
  /**
8065
8069
  * Latest Shema (MGA); Sunrise plus 3 halachic hours, according to Magen Avraham.
@@ -8069,7 +8073,8 @@ class Zmanim {
8069
8073
  */
8070
8074
  sofZmanShmaMGA16Point1() {
8071
8075
  const [alot, temporalHour] = this.getTemporalHourByDeg(16.1);
8072
- return new Date(alot.getTime() + (3 * temporalHour));
8076
+ const offset = Math.floor(3 * temporalHour);
8077
+ return new Date(alot.getTime() + offset);
8073
8078
  }
8074
8079
  /**
8075
8080
  * Latest Shema (MGA); Sunrise plus 3 halachic hours, according to Magen Avraham.
@@ -8083,15 +8088,17 @@ class Zmanim {
8083
8088
  */
8084
8089
  sofZmanShmaMGA19Point8() {
8085
8090
  const [alot, temporalHour] = this.getTemporalHourByDeg(19.8);
8086
- return new Date(alot.getTime() + (3 * temporalHour));
8091
+ const offset = Math.floor(3 * temporalHour);
8092
+ return new Date(alot.getTime() + offset);
8087
8093
  }
8088
8094
  /**
8089
8095
  * Latest Shacharit (MGA); Sunrise plus 4 halachic hours, according to Magen Avraham
8090
8096
  * @return {Date}
8091
8097
  */
8092
8098
  sofZmanTfillaMGA() {
8093
- const [alot72, temporalHour] = this.getTemporalHour72();
8094
- return new Date(alot72.getTime() + (4 * temporalHour));
8099
+ const [alot72, temporalHour] = this.getTemporalHour72(true);
8100
+ const offset = Math.floor(4 * temporalHour);
8101
+ return new Date(alot72.getTime() + offset);
8095
8102
  }
8096
8103
  /**
8097
8104
  * Latest Shacharit (MGA); Sunrise plus 4 halachic hours, according to Magen Avraham.
@@ -8101,7 +8108,8 @@ class Zmanim {
8101
8108
  */
8102
8109
  sofZmanTfillaMGA16Point1() {
8103
8110
  const [alot, temporalHour] = this.getTemporalHourByDeg(16.1);
8104
- return new Date(alot.getTime() + (4 * temporalHour));
8111
+ const offset = Math.floor(4 * temporalHour);
8112
+ return new Date(alot.getTime() + offset);
8105
8113
  }
8106
8114
  /**
8107
8115
  * Latest Shacharit (MGA); Sunrise plus 4 halachic hours, according to Magen Avraham.
@@ -8115,24 +8123,67 @@ class Zmanim {
8115
8123
  */
8116
8124
  sofZmanTfillaMGA19Point8() {
8117
8125
  const [alot, temporalHour] = this.getTemporalHourByDeg(19.8);
8118
- return new Date(alot.getTime() + (4 * temporalHour));
8126
+ const offset = Math.floor(4 * temporalHour);
8127
+ return new Date(alot.getTime() + offset);
8119
8128
  }
8120
8129
  /**
8121
- * Earliest Mincha – Mincha Gedola; Sunrise plus 6.5 halachic hours.
8130
+ * Earliest Mincha – Mincha Gedola (GRA); Sunrise plus 6.5 halachic hours.
8122
8131
  * If elevation is enabled, this function will include elevation in the calculation.
8132
+ *
8133
+ * This method returns the latest mincha gedola, the earliest time one can pray mincha
8134
+ * that is 6.5 shaos zmaniyos (solar hours) after sunrise or sea level sunrise
8135
+ * (depending on the `useElevation` setting), according
8136
+ * to the [GRA](https://en.wikipedia.org/wiki/Vilna_Gaon).
8137
+ *
8138
+ * The Ramba"m is of the opinion that it is better to delay *mincha* until
8139
+ * *mincha ketana* while the Ra"sh, Tur, GRA and others are of the
8140
+ * opinion that *mincha* can be prayed *lechatchila* starting at *mincha gedola*.
8123
8141
  * @return {Date}
8124
8142
  */
8125
8143
  minchaGedola() {
8126
8144
  return this.getShaahZmanisBasedZman(6.5);
8127
8145
  }
8146
+ /**
8147
+ * Earliest Mincha – Mincha Gedola (MGA); Sunrise plus 6.5 halachic hours.
8148
+ * If elevation is enabled, this function will include elevation in the calculation.
8149
+ *
8150
+ * This method returns the time of *mincha gedola* according to the Magen Avraham
8151
+ * with the day starting 72 minutes before sunrise and ending 72 minutes after sunset.
8152
+ * This is the earliest time to pray *mincha*.
8153
+ * @return {Date}
8154
+ */
8155
+ minchaGedolaMGA() {
8156
+ const [alot72, temporalHour] = this.getTemporalHour72(false);
8157
+ const offset = Math.floor(6.5 * temporalHour);
8158
+ return new Date(alot72.getTime() + offset);
8159
+ }
8128
8160
  /**
8129
8161
  * Preferable earliest time to recite Minchah – Mincha Ketana; Sunrise plus 9.5 halachic hours.
8130
8162
  * If elevation is enabled, this function will include elevation in the calculation.
8163
+ *
8164
+ * This method returns *mincha ketana*, the preferred earliest time to pray *mincha* in the
8165
+ * opinion of the [Rambam](https://en.wikipedia.org/wiki/Maimonides) and others,
8166
+ * that is 9.5 *shaos zmaniyos* (solar hours) after sunrise or sea level sunrise
8167
+ * (depending on the `useElevation` setting), according
8168
+ * to the [GRA](https://en.wikipedia.org/wiki/Vilna_Gaon).
8131
8169
  * @return {Date}
8132
8170
  */
8133
8171
  minchaKetana() {
8134
8172
  return this.getShaahZmanisBasedZman(9.5);
8135
8173
  }
8174
+ /**
8175
+ * This method returns the time of *mincha ketana* according to the Magen Avraham
8176
+ * with the day starting 72 minutes before sunrise and ending 72 minutes after sunset.
8177
+ * This is the preferred earliest time to pray *mincha* according to the opinion of
8178
+ * the [Rambam](https://en.wikipedia.org/wiki/Maimonides) and others.
8179
+ *
8180
+ * If elevation is enabled, this function will include elevation in the calculation.
8181
+ * @return {Date}
8182
+ */
8183
+ minchaKetanaMGA() {
8184
+ const [alot72, temporalHour] = this.getTemporalHour72(false);
8185
+ return new Date(alot72.getTime() + Math.floor(9.5 * temporalHour));
8186
+ }
8136
8187
  /**
8137
8188
  * Plag haMincha; Sunrise plus 10.75 halachic hours.
8138
8189
  * If elevation is enabled, this function will include elevation in the calculation.
@@ -10007,7 +10058,7 @@ class DailyLearning {
10007
10058
  }
10008
10059
 
10009
10060
  /** DO NOT EDIT THIS AUTO-GENERATED FILE! */
10010
- const version = '5.4.3';
10061
+ const version = '5.4.4';
10011
10062
 
10012
10063
  /* eslint-disable max-len */
10013
10064
  /**
@@ -10863,20 +10914,7 @@ function checkCandleOptions(options) {
10863
10914
  }
10864
10915
  let min = Number(options.candleLightingMins) || 18;
10865
10916
  if (location.getIsrael() && Math.abs(min) === 18) {
10866
- const geoid = location.getGeoId();
10867
- if (geoid) {
10868
- const offset = geoIdCandleOffset[geoid];
10869
- if (typeof offset === 'number') {
10870
- min = offset;
10871
- }
10872
- }
10873
- const shortName = location.getShortName();
10874
- if (shortName) {
10875
- const offset = israelCityOffset[shortName];
10876
- if (typeof offset === 'number') {
10877
- min = offset;
10878
- }
10879
- }
10917
+ min = overrideIsraelCandleMins(location, min);
10880
10918
  }
10881
10919
  options.candleLightingMins = -1 * Math.abs(min);
10882
10920
  if (typeof options.havdalahMins === 'number') {
@@ -10892,6 +10930,23 @@ function checkCandleOptions(options) {
10892
10930
  options.fastEndDeg = TZEIT_3MEDIUM_STARS;
10893
10931
  }
10894
10932
  }
10933
+ function overrideIsraelCandleMins(location, min) {
10934
+ const geoid = location.getGeoId();
10935
+ if (geoid) {
10936
+ const offset = geoIdCandleOffset[geoid];
10937
+ if (typeof offset === 'number') {
10938
+ return offset;
10939
+ }
10940
+ }
10941
+ const shortName = location.getShortName();
10942
+ if (shortName) {
10943
+ const offset = israelCityOffset[shortName];
10944
+ if (typeof offset === 'number') {
10945
+ return offset;
10946
+ }
10947
+ }
10948
+ return min;
10949
+ }
10895
10950
  /**
10896
10951
  * Mask to filter Holiday array
10897
10952
  * @private
@@ -1,2 +1,2 @@
1
1
  /** DO NOT EDIT THIS AUTO-GENERATED FILE! */
2
- export declare const version = "5.4.3";
2
+ export declare const version = "5.4.4";
@@ -1,4 +1,7 @@
1
1
  import { HDate } from '@hebcal/hdate';
2
+ /**
3
+ * Is *tachanun* said today?
4
+ */
2
5
  export type TachanunResult = {
3
6
  /** Tachanun is said at Shacharit */
4
7
  shacharit: boolean;
package/dist/zmanim.d.ts CHANGED
@@ -160,6 +160,12 @@ export declare class Zmanim {
160
160
  sofZmanShma(): Date;
161
161
  /**
162
162
  * Latest Shacharit (Gra); Sunrise plus 4 halachic hours, according to the Gra.
163
+ *
164
+ * This method returns the latest *zman tfila* (time to recite shema in the morning)
165
+ * that is 4 *shaos zmaniyos* (solar hours) after sunrise or sea level sunrise
166
+ * (depending on the `useElevation` setting), according
167
+ * to the [GRA](https://en.wikipedia.org/wiki/Vilna_Gaon).
168
+ *
163
169
  * If elevation is enabled, this function will include elevation in the calculation.
164
170
  * @return {Date}
165
171
  */
@@ -167,16 +173,13 @@ export declare class Zmanim {
167
173
  /**
168
174
  * Returns an array with alot (Date) and ms in hour (number)
169
175
  * @private
170
- * @return {any[]}
171
176
  */
172
- getTemporalHour72(): any[];
177
+ getTemporalHour72(forceSeaLevel: boolean): [Date, number];
173
178
  /**
174
179
  * Returns an array with alot (Date) and ms in hour (number)
175
180
  * @private
176
- * @param {number} angle
177
- * @return {any[]}
178
181
  */
179
- getTemporalHourByDeg(angle: number): any[];
182
+ getTemporalHourByDeg(angle: number): [Date, number];
180
183
  /**
181
184
  * Latest Shema (MGA); Sunrise plus 3 halachic hours, according to Magen Avraham.
182
185
  * Based on the opinion of the MGA that the day is calculated from
@@ -227,17 +230,52 @@ export declare class Zmanim {
227
230
  */
228
231
  sofZmanTfillaMGA19Point8(): Date;
229
232
  /**
230
- * Earliest Mincha – Mincha Gedola; Sunrise plus 6.5 halachic hours.
233
+ * Earliest Mincha – Mincha Gedola (GRA); Sunrise plus 6.5 halachic hours.
231
234
  * If elevation is enabled, this function will include elevation in the calculation.
235
+ *
236
+ * This method returns the latest mincha gedola, the earliest time one can pray mincha
237
+ * that is 6.5 shaos zmaniyos (solar hours) after sunrise or sea level sunrise
238
+ * (depending on the `useElevation` setting), according
239
+ * to the [GRA](https://en.wikipedia.org/wiki/Vilna_Gaon).
240
+ *
241
+ * The Ramba"m is of the opinion that it is better to delay *mincha* until
242
+ * *mincha ketana* while the Ra"sh, Tur, GRA and others are of the
243
+ * opinion that *mincha* can be prayed *lechatchila* starting at *mincha gedola*.
232
244
  * @return {Date}
233
245
  */
234
246
  minchaGedola(): Date;
247
+ /**
248
+ * Earliest Mincha – Mincha Gedola (MGA); Sunrise plus 6.5 halachic hours.
249
+ * If elevation is enabled, this function will include elevation in the calculation.
250
+ *
251
+ * This method returns the time of *mincha gedola* according to the Magen Avraham
252
+ * with the day starting 72 minutes before sunrise and ending 72 minutes after sunset.
253
+ * This is the earliest time to pray *mincha*.
254
+ * @return {Date}
255
+ */
256
+ minchaGedolaMGA(): Date;
235
257
  /**
236
258
  * Preferable earliest time to recite Minchah – Mincha Ketana; Sunrise plus 9.5 halachic hours.
237
259
  * If elevation is enabled, this function will include elevation in the calculation.
260
+ *
261
+ * This method returns *mincha ketana*, the preferred earliest time to pray *mincha* in the
262
+ * opinion of the [Rambam](https://en.wikipedia.org/wiki/Maimonides) and others,
263
+ * that is 9.5 *shaos zmaniyos* (solar hours) after sunrise or sea level sunrise
264
+ * (depending on the `useElevation` setting), according
265
+ * to the [GRA](https://en.wikipedia.org/wiki/Vilna_Gaon).
238
266
  * @return {Date}
239
267
  */
240
268
  minchaKetana(): Date;
269
+ /**
270
+ * This method returns the time of *mincha ketana* according to the Magen Avraham
271
+ * with the day starting 72 minutes before sunrise and ending 72 minutes after sunset.
272
+ * This is the preferred earliest time to pray *mincha* according to the opinion of
273
+ * the [Rambam](https://en.wikipedia.org/wiki/Maimonides) and others.
274
+ *
275
+ * If elevation is enabled, this function will include elevation in the calculation.
276
+ * @return {Date}
277
+ */
278
+ minchaKetanaMGA(): Date;
241
279
  /**
242
280
  * Plag haMincha; Sunrise plus 10.75 halachic hours.
243
281
  * If elevation is enabled, this function will include elevation in the calculation.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hebcal/core",
3
- "version": "5.4.3",
3
+ "version": "5.4.4",
4
4
  "author": "Michael J. Radwin (https://github.com/mjradwin)",
5
5
  "contributors": [
6
6
  "Eyal Schachter (https://github.com/Scimonster)",