Skip to content

Commit 51fe8b5

Browse files
committed
use java 11 instead of java 9
changed reference to ComprehensiveZmanimCalendar instead of non-existing ComplexZmanimCalendar stubbed missing methods to ComprehensiveZmanimCalendar
1 parent ac6ba3a commit 51fe8b5

3 files changed

Lines changed: 74 additions & 8 deletions

File tree

pom.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -107,8 +107,8 @@
107107
<version>3.10.1</version>
108108
<configuration>
109109
<encoding>UTF-8</encoding>
110-
<source>9</source>
111-
<target>9</target>
110+
<source>11</source>
111+
<target>11</target>
112112
</configuration>
113113
</plugin>
114114
</plugins>
@@ -124,7 +124,7 @@
124124
</repository>
125125
</distributionManagement>
126126
<properties>
127-
<maven.compiler.target>1.9</maven.compiler.target>
128-
<maven.compiler.source>1.9</maven.compiler.source>
127+
<maven.compiler.target>11</maven.compiler.target>
128+
<maven.compiler.source>11</maven.compiler.source>
129129
</properties>
130130
</project>

src/main/java/com/kosherjava/zmanim/ComprehensiveZmanimCalendar.java

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4356,4 +4356,68 @@ public Date getSamuchLeMinchaKetana16Point1Degrees() {
43564356
public Date getSamuchLeMinchaKetana72Minutes() {
43574357
return getSamuchLeMinchaKetana(getAlos72(), getTzais72(), true);
43584358
}
4359+
4360+
public Date getSofZmanShmaKolEliyahu() {
4361+
return null;
4362+
}
4363+
4364+
public Date getSofZmanShmaFixedLocal() {
4365+
return null;
4366+
}
4367+
4368+
public Date getSofZmanTfilaFixedLocal() {
4369+
return null;
4370+
}
4371+
4372+
public Date getBainHasmashosRT13Point24Degrees() {
4373+
return null;
4374+
}
4375+
4376+
public Date getBainHasmashosRT58Point5Minutes() {
4377+
return null;
4378+
}
4379+
4380+
public Date getBainHasmashosRT13Point5MinutesBefore7Point083Degrees() {
4381+
return null;
4382+
}
4383+
4384+
public Date getBainHasmashosRT2Stars() {
4385+
return null;
4386+
}
4387+
4388+
public Date getBainHasmashosYereim18Minutes() {
4389+
return null;
4390+
}
4391+
4392+
public Date getBainHasmashosYereim3Point05Degrees() {
4393+
return null;
4394+
}
4395+
4396+
public Date getBainHasmashosYereim16Point875Minutes() {
4397+
return null;
4398+
}
4399+
4400+
public Date getBainHasmashosYereim2Point8Degrees() {
4401+
return null;
4402+
}
4403+
4404+
public Date getBainHasmashosYereim13Point5Minutes() {
4405+
return null;
4406+
}
4407+
4408+
public Date getBainHasmashosYereim2Point1Degrees() {
4409+
return null;
4410+
}
4411+
4412+
public Date getTzaisGeonim3Point65Degrees() {
4413+
return null;
4414+
}
4415+
4416+
public Date getTzaisGeonim3Point676Degrees() {
4417+
return null;
4418+
}
4419+
4420+
public Date getSofZmanTfilahAteretTorah() {
4421+
return null;
4422+
}
43594423
}

src/test/java/com/kosherjava/zmanim/hebrewcalendar/RegressionTestFileWriter.java

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
package com.kosherjava.zmanim.hebrewcalendar;
22

3-
import com.kosherjava.zmanim.ComplexZmanimCalendar;
4-
import com.kosherjava.zmanim.util.AstronomicalCalculator;
3+
import com.kosherjava.zmanim.ComprehensiveZmanimCalendar;
54
import com.kosherjava.zmanim.util.GeoLocation;
65

7-
import java.io.*;
6+
import java.io.BufferedWriter;
7+
import java.io.File;
8+
import java.io.FileWriter;
9+
import java.io.IOException;
810
import java.time.LocalDate;
911
import java.util.*;
1012

@@ -17,7 +19,7 @@ public static void main(String[] args) throws IOException {
1719
JewishCalendar cal = new JewishCalendar(current);
1820
GregorianCalendar gregorian = new GregorianCalendar(current.getYear(), current.getMonthValue() - 1, current.getDayOfMonth());
1921
JewishDate date = new JewishDate(current);
20-
ComplexZmanimCalendar zcal = new ComplexZmanimCalendar(new GeoLocation("Lakewood, NJ", 40.096, -74.222, 29.02, TimeZone.getTimeZone("America/New_York")));
22+
ComprehensiveZmanimCalendar zcal = new ComprehensiveZmanimCalendar(new GeoLocation("Lakewood, NJ", 40.096, -74.222, 29.02, TimeZone.getTimeZone("America/New_York")));
2123
List<FullCalendar> calendars = new ArrayList<>();
2224
List<FullZmanim> zmanim = new ArrayList<>();
2325

0 commit comments

Comments
 (0)