@@ -351,7 +351,7 @@ public AstronomicalCalendar(GeoLocation geoLocation) {
351351 * not set, {@link Double#NaN} will be returned. See detailed explanation on top of the page.
352352 */
353353 public double getUTCSunrise (double zenith ) {
354- return getAstronomicalCalculator ().getUTCSunrise (getAdjustedLocalDate (), getGeoLocation (), zenith , true );
354+ return getAstronomicalCalculator ().getCachedUTCSunrise (getAdjustedLocalDate (), getGeoLocation (), zenith , true );
355355 }
356356
357357 /**
@@ -368,7 +368,7 @@ public double getUTCSunrise(double zenith) {
368368 * @see #getUTCSeaLevelSunset(double)
369369 */
370370 public double getUTCSeaLevelSunrise (double zenith ) {
371- return getAstronomicalCalculator ().getUTCSunrise (getAdjustedLocalDate (), getGeoLocation (), zenith , false );
371+ return getAstronomicalCalculator ().getCachedUTCSunrise (getAdjustedLocalDate (), getGeoLocation (), zenith , false );
372372 }
373373
374374 /**
@@ -382,7 +382,7 @@ public double getUTCSeaLevelSunrise(double zenith) {
382382 * @see #getUTCSeaLevelSunset(double)
383383 */
384384 public double getUTCSunset (double zenith ) {
385- return getAstronomicalCalculator ().getUTCSunset (getAdjustedLocalDate (), getGeoLocation (), zenith , true );
385+ return getAstronomicalCalculator ().getCachedUTCSunset (getAdjustedLocalDate (), getGeoLocation (), zenith , true );
386386 }
387387
388388 /**
@@ -399,7 +399,7 @@ public double getUTCSunset(double zenith) {
399399 * @see #getUTCSeaLevelSunrise(double)
400400 */
401401 public double getUTCSeaLevelSunset (double zenith ) {
402- return getAstronomicalCalculator ().getUTCSunset (getAdjustedLocalDate (), getGeoLocation (), zenith , false );
402+ return getAstronomicalCalculator ().getCachedUTCSunset (getAdjustedLocalDate (), getGeoLocation (), zenith , false );
403403 }
404404
405405 /**
@@ -457,7 +457,7 @@ public Duration getTemporalHour(Instant startOfDay, Instant endOfDay) {
457457 * @see com.kosherjava.zmanim.util.SunTimesCalculator#getUTCNoon(LocalDate, GeoLocation)
458458 */
459459 public Instant getSunTransit () {
460- double noon = getAstronomicalCalculator ().getUTCNoon (getAdjustedLocalDate (), getGeoLocation ());
460+ double noon = getAstronomicalCalculator ().getCachedUTCNoon (getAdjustedLocalDate (), getGeoLocation ());
461461 return getInstantFromTime (noon , SolarEvent .NOON );
462462 }
463463
@@ -486,7 +486,7 @@ public Instant getSunTransit() {
486486 * @see com.kosherjava.zmanim.util.SunTimesCalculator#getUTCNoon(LocalDate, GeoLocation)
487487 */
488488 public Instant getSolarMidnight () {
489- double noon = getAstronomicalCalculator ().getUTCMidnight (getAdjustedLocalDate (), getGeoLocation ());
489+ double noon = getAstronomicalCalculator ().getCachedUTCMidnight (getAdjustedLocalDate (), getGeoLocation ());
490490 return getInstantFromTime (noon , SolarEvent .MIDNIGHT );
491491 }
492492
0 commit comments