Skip to content

Commit

Permalink
Update Tefila method to Use Consistent Spelling
Browse files Browse the repository at this point in the history
  • Loading branch information
KosherJava authored Jul 11, 2023
1 parent d24323b commit bca6ddb
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions src/main/java/com/kosherjava/zmanim/ComplexZmanimCalendar.java
Original file line number Diff line number Diff line change
Expand Up @@ -2918,6 +2918,19 @@ public Date getSofZmanShmaAteretTorah() {
* @see #getShaahZmanisAteretTorah()
* @see #setAteretTorahSunsetOffset(double)
*/
public Date getSofZmanTfilaAteretTorah() {
return getSofZmanTfila(getAlos72Zmanis(), getTzaisAteretTorah());
}

/**
* @see #getSofZmanTfilaAteretTorah()
* @deprecated misspelled method name (all other methods spell tfila witout an H) to be removed in 3.0.0.
* @return the <code>Date</code> of the latest <em>zman krias shema</em> based on this calculation. If the
* calculation 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, and one where it does not set, a null will be returned. See detailed explanation
* on top of the {@link AstronomicalCalendar} documentation.
*/
@Deprecated // (forRemoval=true) // add back once Java 9 is the minimum supported version
public Date getSofZmanTfilahAteretTorah() {
return getSofZmanTfila(getAlos72Zmanis(), getTzaisAteretTorah());
}
Expand Down Expand Up @@ -3786,8 +3799,8 @@ public Date getSofZmanBiurChametzMGA16Point1Degrees() {

/**
* A method that returns "solar" midnight, or the time when the sun is at its <a
* href="https://en.wikipedia.org/wiki/Nadir">nadir</a>.
* <b>Note:</b> this method is experimental and might be removed.
* href="https://en.wikipedia.org/wiki/Nadir">nadir</a>. The current calculation is hallfway between today's

This comment has been minimized.

Copy link
@Sternbach-Software

Sternbach-Software Jul 12, 2023

Contributor

@KosherJava Don't mean to be a yekkeh but you added a typo: hallfway

* <em>chatzos hayom</em> and tomorrow's <em>chatzos hayom</em>.
*
* @return the <code>Date</code> of Solar Midnight (chatzos layla). If the calculation 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, and one where it
Expand Down

0 comments on commit bca6ddb

Please sign in to comment.