Skip to content

Commit

Permalink
Minor JavaDoc correction in JewishDate (molad param had <em> tags)
Browse files Browse the repository at this point in the history
  • Loading branch information
KosherJava authored Aug 4, 2024
1 parent e34fc87 commit 6629a0f
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -582,7 +582,7 @@ private static int getJewishMonthOfYear(int year, int month) {
* if a Jewish date earlier than 18 Teves, 3761 (1/1/1 Gregorian), a month &lt; 1 or &gt; 12 (or 13 on a leap year),
* the day of month is &lt; 1 or &gt; 30, an hour &lt; 0 or &gt; 23, a minute &lt; 0 or &gt; 59 or <em>chalakim</em>
* &lt; 0 or &gt; 17. For larger a larger number of <em>chalakim</em> such as 793 (<em>TaShTzaG</em>) break the
* </em>chalakim</em> into minutes (18 <em>chalakim</em> per minutes, so it would be 44 minutes and 1 <em>chelek</em>
* <em>chalakim</em> into minutes (18 <em>chalakim</em> per minutes, so it would be 44 minutes and 1 <em>chelek</em>
* in the case of 793 (<em>TaShTzaG</em>).
*/
private static void validateJewishDate(int year, int month, int dayOfMonth, int hours, int minutes, int chalakim) {
Expand Down Expand Up @@ -834,8 +834,8 @@ private void absDateToJewishDate() {
* @param year
* the Jewish year. The year can't be negative
* @param month
* the Jewish month starting with Nissan. Nissan expects a value of 1 etc till Adar with a value of 12. For
* a leap year, 13 will be the expected value for Adar II. Use the constants {@link JewishDate#NISSAN}
* the Jewish month starting with Nissan. Nissan expects a value of 1 etc. until Adar with a value of 12.
* For a leap year, 13 will be the expected value for Adar II. Use the constants {@link JewishDate#NISSAN}
* etc.
* @param dayOfMonth
* the Jewish day of month. valid values are 1-30. If the day of month is set to 30 for a month that only
Expand Down Expand Up @@ -884,7 +884,7 @@ private static int moladToAbsDate(long chalakim) {
* Monday, <em>Ha</em> = 5 hours and <em>RaD</em> = 204 <em>chalakim</em> / parts) - prior to the start of the Jewish
* calendar. <em>BeHaRaD</em> is 23:11:20 on Sunday night(5 hours 204/1080 <em>chalakim</em> after sunset on Sunday evening).
*
* @param <em>molad</em> the number of <em>chalakim</em> since the beginning of Sunday prior to BaHaRaD
* @param molad the number of <em>chalakim</em> since the beginning of Sunday prior to BaHaRaD
*/
public JewishDate(long molad) {
absDateToDate(moladToAbsDate(molad));
Expand Down

0 comments on commit 6629a0f

Please sign in to comment.