Skip to content

Commit

Permalink
Add Zmanim.makeSunsetAwareHDate()
Browse files Browse the repository at this point in the history
  • Loading branch information
mjradwin committed Sep 22, 2024
1 parent bd22ecb commit edb88ab
Show file tree
Hide file tree
Showing 37 changed files with 502 additions and 497 deletions.
2 changes: 1 addition & 1 deletion api/core/assets/main.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion api/core/assets/navigation.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion api/core/assets/search.js

Large diffs are not rendered by default.

50 changes: 25 additions & 25 deletions api/core/classes/AsaraBTevetEvent.html

Large diffs are not rendered by default.

44 changes: 21 additions & 23 deletions api/core/classes/CandleLightingEvent.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions api/core/classes/DailyLearning.html

Large diffs are not rendered by default.

42 changes: 21 additions & 21 deletions api/core/classes/Event.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion api/core/classes/HDate.html
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ <h4 class="tsd-anchor-link"><a id="Example-1" class="tsd-anchor"></a>Example<a h

</div><aside class="tsd-sources"><ul><li>Defined in node_modules/@hebcal/hdate/dist/hdate.d.ts:157</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-external"><a id="getTishreiMonth" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Tishrei<wbr/>Month</span><a href="#getTishreiMonth" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="getTishreiMonth.getTishreiMonth-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Tishrei<wbr/>Month</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><a href="#getTishreiMonth.getTishreiMonth-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>The Tishrei-based month of this Hebrew date. 1 is Tishrei, 7 is Nisan, 13 is Elul in a leap year</p>
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><p>an integer 1-13</p>
<div class="tsd-comment tsd-typography"><h4 class="tsd-anchor-link"><a id="Example-11" class="tsd-anchor"></a>Example<a href="#Example-11" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><pre><code class="ts"><span class="hl-5">const</span><span class="hl-1"> </span><span class="hl-6">hd</span><span class="hl-1"> = </span><span class="hl-5">new</span><span class="hl-1"> </span><span class="hl-0">HDate</span><span class="hl-1">(</span><span class="hl-5">new</span><span class="hl-1"> </span><span class="hl-0">Date</span><span class="hl-1">(</span><span class="hl-8">2008</span><span class="hl-1">, </span><span class="hl-8">10</span><span class="hl-1">, </span><span class="hl-8">13</span><span class="hl-1">)); </span><span class="hl-9">// 15 Cheshvan 5769</span><br/><span class="hl-4">hd</span><span class="hl-1">.</span><span class="hl-0">getMonth</span><span class="hl-1">(); </span><span class="hl-9">// 2</span>
<div class="tsd-comment tsd-typography"><h4 class="tsd-anchor-link"><a id="Example-11" class="tsd-anchor"></a>Example<a href="#Example-11" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><pre><code class="ts"><span class="hl-5">const</span><span class="hl-1"> </span><span class="hl-6">hd</span><span class="hl-1"> = </span><span class="hl-5">new</span><span class="hl-1"> </span><span class="hl-0">HDate</span><span class="hl-1">(</span><span class="hl-5">new</span><span class="hl-1"> </span><span class="hl-0">Date</span><span class="hl-1">(</span><span class="hl-8">2008</span><span class="hl-1">, </span><span class="hl-8">10</span><span class="hl-1">, </span><span class="hl-8">13</span><span class="hl-1">)); </span><span class="hl-9">// 15 Cheshvan 5769</span><br/><span class="hl-4">hd</span><span class="hl-1">.</span><span class="hl-0">getTishreiMonth</span><span class="hl-1">(); </span><span class="hl-9">// 2</span>
</code><button type="button">Copy</button></pre>

</div><aside class="tsd-sources"><ul><li>Defined in node_modules/@hebcal/hdate/dist/hdate.d.ts:90</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-external"><a id="greg" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>greg</span><a href="#greg" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="greg.greg-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">greg</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Date</span><a href="#greg.greg-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Converts this Hebrew date to the corresponding Gregorian date.
Expand Down
44 changes: 21 additions & 23 deletions api/core/classes/HavdalahEvent.html

Large diffs are not rendered by default.

Loading

0 comments on commit edb88ab

Please sign in to comment.