@hebcal/core 5.3.7 → 5.3.9
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 +20 -0
- package/dist/bundle.js +285 -101
- package/dist/bundle.min.js +2 -2
- package/dist/index.cjs +283 -99
- package/dist/index.mjs +283 -100
- package/hebcal.d.ts +9 -0
- package/package.json +2 -2
- package/po/he.po +1 -1
package/README.md
CHANGED
|
@@ -1913,6 +1913,8 @@ https://gml.noaa.gov/grad/solcalc/calcdetails.html
|
|
|
1913
1913
|
* [Zmanim](#Zmanim)
|
|
1914
1914
|
* [new Zmanim(gloc, date, useElevation)](#new_Zmanim_new)
|
|
1915
1915
|
* _instance_
|
|
1916
|
+
* [.getUseElevation()](#Zmanim+getUseElevation) ⇒ <code>boolean</code>
|
|
1917
|
+
* [.setUseElevation(useElevation)](#Zmanim+setUseElevation)
|
|
1916
1918
|
* [.timeAtAngle(angle, rising)](#Zmanim+timeAtAngle) ⇒ <code>Date</code>
|
|
1917
1919
|
* [.sunrise()](#Zmanim+sunrise) ⇒ <code>Date</code>
|
|
1918
1920
|
* [.seaLevelSunrise()](#Zmanim+seaLevelSunrise) ⇒ <code>Date</code>
|
|
@@ -1973,6 +1975,24 @@ const zmanim = new Zmanim(gloc, friday, false);
|
|
|
1973
1975
|
const candleLighting = zmanim.sunsetOffset(-18, true);
|
|
1974
1976
|
const timeStr = Zmanim.formatISOWithTimeZone(tzid, candleLighting);
|
|
1975
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
|
+
|
|
1976
1996
|
<a name="Zmanim+timeAtAngle"></a>
|
|
1977
1997
|
|
|
1978
1998
|
### zmanim.timeAtAngle(angle, rising) ⇒ <code>Date</code>
|