|
1 | 1 | /* |
2 | 2 | * Zmanim Java API |
3 | | - * Copyright (C) 2017 - 2021 Eliyahu Hershfeld |
| 3 | + * Copyright (C) 2017 - 2023 Eliyahu Hershfeld |
4 | 4 | * |
5 | 5 | * This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General |
6 | 6 | * Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) |
7 | 7 | * any later version. |
8 | 8 | * |
9 | 9 | * This library is distributed in the hope that it will be useful,but WITHOUT ANY WARRANTY; without even the implied |
10 | | - * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more |
| 10 | + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more |
11 | 11 | * details. |
12 | 12 | * You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to |
13 | | - * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA, |
| 13 | + * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA, |
14 | 14 | * or connect to: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html |
15 | 15 | */ |
16 | 16 | package com.kosherjava.zmanim.hebrewcalendar; |
|
24 | 24 | * "https://en.wikipedia.org/wiki/Daf_Yomi">Daf Yomi</a> page ({@link Daf}) for the a given date. |
25 | 25 | * |
26 | 26 | * @author © elihaidv |
27 | | - * @author © Eliyahu Hershfeld 2017 - 2021 |
| 27 | + * @author © Eliyahu Hershfeld 2017 - 2023 |
28 | 28 | */ |
29 | 29 | public class YerushalmiYomiCalculator { |
30 | 30 |
|
@@ -97,7 +97,7 @@ public static Daf getDafYomiYerushalmi(JewishCalendar calendar) { |
97 | 97 | // Finally find the daf. |
98 | 98 | for (int j = 0; j < BLATT_PER_MASSECTA.length; j++) { |
99 | 99 |
|
100 | | - if (total <= BLATT_PER_MASSECTA[j]) { |
| 100 | + if (total < BLATT_PER_MASSECTA[j]) { |
101 | 101 | dafYomi = new Daf(masechta, total + 1); |
102 | 102 | break; |
103 | 103 | } |
|
0 commit comments