Skip to content

Commit e50116c

Browse files
authored
Merge pull request #270 from KosherJava/3-0-modernization
Merge 3-0-modernization to master This pulls in a lot of changes done over the past few months. See the CHANGELOG.md for additional info.
2 parents 1232e93 + fdffaea commit e50116c

27 files changed

Lines changed: 5145 additions & 5544 deletions

.github/workflows/codeql-analysis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ name: "CodeQL"
77

88
on:
99
push:
10-
branches: [master]
10+
branches: [3-0-mdernization]
1111
pull_request:
1212
# The branches below must be a subset of the branches above
13-
branches: [master]
13+
branches: [3-0-mdernization]
1414
schedule:
1515
- cron: '0 5 * * 1'
1616

@@ -63,4 +63,4 @@ jobs:
6363
# make release
6464

6565
- name: Perform CodeQL Analysis
66-
uses: github/codeql-action/analyze@v3
66+
uses: github/codeql-action/analyze@v4

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,6 @@ target/
22
.idea/
33
zmanim.iml
44
.gradle
5-
build
5+
build
6+
local.properties
7+
*.class

CHANGELOG.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@
5555
* `getTzais120()` -> `getTzais120Minutes()`
5656
* `getChatzos()` -> `getChatzosHayom()`
5757
* `getChatzosAsHalfDay()` -> `getChatzosHayomAsHalfDay()`
58+
* `isAssurBemlacha()` -> `isAssurBemelacha()`
5859
* Rename some classes the confusingly named `ComplexZmanimCalendar` to `ComrehensiveZmanimCalendar`.
5960
* Move "legacy" classes to `java.time` equivelants
6061
* All zmanim now return `Instant`s insead of `Date` objects.
@@ -69,7 +70,8 @@
6970
* Tweaked logic in `AstronomicalCalendar.getInstantFromTime()` to address issues near the dateline.
7071
* Improve null handling in `ComprehensiveZmanimCalendar.getMoladBasedTime()`
7172
* Add `ComprehensiveZmanimCalendar.getMisheyakir12Point85Degrees()`
72-
* `ComprehensiveZmanimcalendar.getMinchaGedolaGreaterThan30()` was moved to the parent `ZmanimCalendar.getMinchaGedolaGreaterThan30(Instant)` that allows it to work with any mincha gedola claculation.
73+
* Add `getMinchaGedolaGreaterThan30(Instant)` that allows it to work with any mincha gedola claculation.
74+
* `ComprehensiveZmanimcalendar.getMinchaGedolaGreaterThan30()` was renamed `getMinchaGedolaGRAGreaterThan30()` for clarity.
7375
* Change / remove `ComprehensiveZmanimcalendar` zmanim that were too early.
7476
* `getTzaisGeonim4Point37Degrees()` -> `getTzaisGeonim4Point42Degrees()`.
7577
* `getTzaisGeonim4Point61Degrees()` -> `getTzaisGeonim4Point66Degrees()`
@@ -99,6 +101,7 @@
99101
* [Add null checks in `getMinchaGedolaAhavatShalom()`](https://github.com/KosherJava/zmanim/commit/93f441f1ff87d4669c91b596eed157c9cf448bca)
100102
* [Fix `getAlos60()` to use `getElevationAdjustedSunrise()`](https://github.com/KosherJava/zmanim/commit/f5a5b2c68e1f0e2f9f4fbdd2cc585085f2914b74)
101103
* Update Tefila method to Use [Consistent Spelling](https://github.com/KosherJava/zmanim/commit/bca6ddb85542683f229d905636a06fbfc66fbe03).
104+
* Add [`getSunsetOrWesternmostSolarAzimuth()` and `getSunriseOrEasternmostSolarAzimuth()`](https://github.com/KosherJava/zmanim/commit/ab9a903e94c33d31f1ce006a6102cdfa259786ad) methods.
102105
* `HebrewdateFormatter`
103106
* add method [`formatParsha(JewishCalendar.Parsha parsha)`](https://github.com/KosherJava/zmanim/commit/ee3347b04bf0f4221bc8aa71af59437cd7533f72) to allow formatting of a parsha retrieved from `JewishCalendar.getUpcomingParshah()`.
104107
* Add `getHebrewMonthList()` and `setHebrewMonthList(String[])`. This allows overriding the default month of Chesvan to Marcheshvan etc.
@@ -113,14 +116,18 @@
113116
* [add missing brace to `isYomTov()` and simplify logic](https://github.com/KosherJava/zmanim/commit/e34fc879313b045f35e70b5947e2c2e20a4364c5)
114117
* `GeoLocation` - [add NaN validation to `setLatitude` and `setLongitude`](https://github.com/KosherJava/zmanim/commit/d064715ebeaead29a01ec673f3885ee9bd9c78b4)
115118
* `NOAACalculator` - [fix Solar Azimuth and Elevation](https://github.com/KosherJava/zmanim/commit/860f1939c25b38dd4d23adb1772b12ccbc71fc76)
116-
* `AstronomicalCalculator` - [add `getSolarAzimuth()` and `getSolarElevation()`](https://github.com/KosherJava/zmanim/commit/feecf7ad2d9ce527cfe0314ae01710d68c6c3c2e)
119+
* `AstronomicalCalculator` Add some methods
120+
* `getSolarAzimuth()`
121+
* `getSolarElevation()`
122+
* `getTimeAtAzimuth()`
117123
* `AstronomicalCalendar`
118124
* [Fix null handling in `getSunTransit(Date,Date)`](https://github.com/KosherJava/zmanim/commit/8221e2895cbab62b037c16de1711f9faacd78a7b)
119125
* [Deprecate `getSunriseSolarDipFromOffset` and `getSunsetSolarDipFromOffset`](https://github.com/KosherJava/zmanim/commit/0ce858258bff15c11235b1f1063d2eb0ef22b994)
120126
* [Pass proper parameter to `getDateFromTime` in `getLocalMeanTime`](https://github.com/KosherJava/zmanim/commit/da7e888299c27622e1786af7d517f620060a38e0)
121127
* [Add `getLocalMeanTime()`](https://github.com/KosherJava/zmanim/commit/14bcdc085011ccce327f69d6a001772c0581fcc2).
122128
* [Move `getSolarMidnight()`](https://github.com/KosherJava/zmanim/commit/a4535717353eb77da10b6951e4a627b10258ac9e) to the parent class where it belongs.
123129
* [Correct USNO noon calculation](https://github.com/KosherJava/zmanim/commit/3735c92289a66039b24d7e2b470955b5297f0ca5) in some locations where it was sometimes 12 hours off.
130+
* [Add `getTimeAtAzimuth(double azimuth)`](https://github.com/KosherJava/zmanim/commit/05a3bc3cdb2dbc88ffca89be0828f50abf62969f)
124131

125132
## [2.5.0](https://github.com/KosherJava/zmanim/compare/2.4.0...2.5.0) (2023-06-09)
126133

0 commit comments

Comments
 (0)