org.shredzone.commons:commons-suncalc breaking changes
org.shredzone.commons:commons-suncalc 3.0 (June 6, 2020) is its newest release with breaking changes, 41 of them. The first: Result rounding removed from the library in org.shredzone.commons:commons-suncalc 3.0. Every breaking API change we have recorded in org.shredzone.commons:commons-suncalc on Maven Central: 70 breaking changes in 2 versions. Below, its 2 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 3.11, released June 11, 2024.
Its 3.0 release requires Java 8 or later. Java end of life dates.
org.shredzone.commons:commons-suncalc 3.0 breaking changes
- Removed
The library no longer rounds results. Users who relied on rounding must truncate the ZonedDateTime results themselves. shredzone.org - Removed
suncalc 3.0 no longer supports Android versions below API level 26. Older Android apps must stay on suncalc v2. github.com - Removed
org.shredzone.commons.suncalc.MoonIllumination.getClosestPhase
MoonIllumination.getClosestPhase was removed in org.shredzone.commons:commons-suncalc 3.0 central.sonatype.com - Removed
org.shredzone.commons.suncalc.MoonPhase.getDistance
MoonPhase.getDistance was removed in org.shredzone.commons:commons-suncalc 3.0 central.sonatype.com - Removed
org.shredzone.commons.suncalc.MoonPhase.isMicroMoon
MoonPhase.isMicroMoon was removed in org.shredzone.commons:commons-suncalc 3.0 central.sonatype.com - Removed
org.shredzone.commons.suncalc.MoonPhase.isSuperMoon
MoonPhase.isSuperMoon was removed in org.shredzone.commons:commons-suncalc 3.0 central.sonatype.com - Removed
org.shredzone.commons.suncalc.MoonPhase.Parameters.truncatedTo
org.shredzone.commons.suncalc.MoonPhase.Parameters.truncatedTo was removed in org.shredzone.commons:commons-suncalc 3.0 central.sonatype.com - Removed
org.shredzone.commons.suncalc.MoonPhase.Phase.toPhase
org.shredzone.commons.suncalc.MoonPhase.Phase.toPhase was removed in org.shredzone.commons:commons-suncalc 3.0 central.sonatype.com - Removed
org.shredzone.commons.suncalc.MoonPhase.Phase.WANING_CRESCENT
org.shredzone.commons.suncalc.MoonPhase.Phase.WANING_CRESCENT was removed in org.shredzone.commons:commons-suncalc 3.0 central.sonatype.com - Removed
org.shredzone.commons.suncalc.MoonPhase.Phase.WANING_GIBBOUS
org.shredzone.commons.suncalc.MoonPhase.Phase.WANING_GIBBOUS was removed in org.shredzone.commons:commons-suncalc 3.0 central.sonatype.com - Removed
org.shredzone.commons.suncalc.MoonPhase.Phase.WAXING_CRESCENT
org.shredzone.commons.suncalc.MoonPhase.Phase.WAXING_CRESCENT was removed in org.shredzone.commons:commons-suncalc 3.0 central.sonatype.com - Removed
org.shredzone.commons.suncalc.MoonPhase.Phase.WAXING_GIBBOUS
org.shredzone.commons.suncalc.MoonPhase.Phase.WAXING_GIBBOUS was removed in org.shredzone.commons:commons-suncalc 3.0 central.sonatype.com - Removed
org.shredzone.commons.suncalc.MoonTimes.Parameters.truncatedTo
org.shredzone.commons.suncalc.MoonTimes.Parameters.truncatedTo was removed in org.shredzone.commons:commons-suncalc 3.0 central.sonatype.com - Removed
org.shredzone.commons.suncalc.param.TimeResultParameter
org.shredzone.commons.suncalc.param.TimeResultParameter was removed in org.shredzone.commons:commons-suncalc 3.0 central.sonatype.com - Removed
org.shredzone.commons.suncalc.SunTimes.Parameters.truncatedTo
org.shredzone.commons.suncalc.SunTimes.Parameters.truncatedTo was removed in org.shredzone.commons:commons-suncalc 3.0 central.sonatype.com - Removed
org.shredzone.commons.suncalc.SunTimes.Twilight.NIGHT_HOUR
org.shredzone.commons.suncalc.SunTimes.Twilight.NIGHT_HOUR was removed in org.shredzone.commons:commons-suncalc 3.0 central.sonatype.com - Removed
org.shredzone.commons.suncalc.util.BaseBuilder.clone
BaseBuilder.clone was removed in org.shredzone.commons:commons-suncalc 3.0 central.sonatype.com - Removed
org.shredzone.commons.suncalc.util.BaseBuilder.createCalendar
BaseBuilder.createCalendar was removed in org.shredzone.commons:commons-suncalc 3.0 central.sonatype.com - Removed
org.shredzone.commons.suncalc.util.BaseBuilder.getTruncatedTo
BaseBuilder.getTruncatedTo was removed in org.shredzone.commons:commons-suncalc 3.0 central.sonatype.com - Removed
org.shredzone.commons.suncalc.util.BaseBuilder.truncatedTo
BaseBuilder.truncatedTo was removed in org.shredzone.commons:commons-suncalc 3.0 central.sonatype.com - Removed
org.shredzone.commons.suncalc.util.JulianDate.getCalendar
JulianDate.getCalendar was removed in org.shredzone.commons:commons-suncalc 3.0 central.sonatype.com - Removed
org.shredzone.commons.suncalc.util.JulianDate.getDate
JulianDate.getDate was removed in org.shredzone.commons:commons-suncalc 3.0 central.sonatype.com - Removed
org.shredzone.commons.suncalc.util.JulianDate.getDateTruncated
JulianDate.getDateTruncated was removed in org.shredzone.commons:commons-suncalc 3.0 central.sonatype.com - Removed
org.shredzone.commons.suncalc.util.Pegasus.Function
org.shredzone.commons.suncalc.util.Pegasus.Function was removed in org.shredzone.commons:commons-suncalc 3.0 central.sonatype.com - Removed
truncateTo
The truncateTo() method was removed. Use the truncation available on Java's ZonedDateTime instead. github.com - Behavior changed
suncalc 3.0 requires at least Java 8 or Android API level 26. Users on older runtimes must stay on suncalc v2. github.com - Behavior changed
All results are now ZonedDateTime instances carrying the timezone used, instead of the outdated Date and Calendar classes. Code reading those types must be updated. shredzone.org - Behavior changed
Method signatures are unchanged, but the compiler may now report null dereferences that were not reported before. github.com - Signature changed
org.shredzone.commons.suncalc.MoonPhase.getTime
Was java.util.Date getTime(); now java.time.ZonedDateTime getTime(). central.sonatype.com - Signature changed
org.shredzone.commons.suncalc.MoonPhase.Parameters
Was static interface Parameters extends org.shredzone.commons.suncalc.param.GenericParameter<org.shredzone.commons.suncalc.MoonPhase.Parameters>... central.sonatype.com - Signature changed
org.shredzone.commons.suncalc.MoonTimes.getRise
Was java.util.Date getRise(); now java.time.ZonedDateTime getRise(). central.sonatype.com - Signature changed
org.shredzone.commons.suncalc.MoonTimes.getSet
Was java.util.Date getSet(); now java.time.ZonedDateTime getSet(). central.sonatype.com - Signature changed
org.shredzone.commons.suncalc.MoonTimes.Parameters
Was static interface Parameters extends org.shredzone.commons.suncalc.param.GenericParameter<org.shredzone.commons.suncalc.MoonTimes.Parameters>... central.sonatype.com - Signature changed
org.shredzone.commons.suncalc.SunTimes.getNadir
Was java.util.Date getNadir(); now java.time.ZonedDateTime getNadir(). central.sonatype.com - Signature changed
org.shredzone.commons.suncalc.SunTimes.getNoon
Was java.util.Date getNoon(); now java.time.ZonedDateTime getNoon(). central.sonatype.com - Signature changed
org.shredzone.commons.suncalc.SunTimes.getRise
Was java.util.Date getRise(); now java.time.ZonedDateTime getRise(). central.sonatype.com - Signature changed
org.shredzone.commons.suncalc.SunTimes.getSet
Was java.util.Date getSet(); now java.time.ZonedDateTime getSet(). central.sonatype.com - Signature changed
org.shredzone.commons.suncalc.SunTimes.Parameters
Was static interface Parameters extends org.shredzone.commons.suncalc.param.GenericParameter<org.shredzone.commons.suncalc.SunTimes.Parameters>, org.shredzone.commons.suncalc.param.LocationParameter<org.shredzone.commons.suncalc.SunTimes.Pa... central.sonatype.com - Signature changed
org.shredzone.commons.suncalc.util.BaseBuilder
Was class BaseBuilder<T> implements org.shredzone.commons.suncalc.param.GenericParameter<T>, org.shredzone.commons.suncalc.param.LocationParameter<T>, org.shredzone.commons.suncalc.param.TimeParameter<T>... central.sonatype.com - Signature changed
org.shredzone.commons.suncalc.util.JulianDate.<init>
Was JulianDate(java.util.Calendar); now JulianDate(java.time.ZonedDateTime). central.sonatype.com - Signature changed
org.shredzone.commons.suncalc.util.Pegasus.calculate
Was static Double calculate(double, double, double, org.shredzone.commons.suncalc.util.Pegasus.Function); now static Double calculate(double, double, double, java.util.function.Function<Double, Double>). central.sonatype.com
org.shredzone.commons:commons-suncalc 2.0 breaking changes
- Removed
org.shredzone.commons.suncalc.MoonIllumination.of
MoonIllumination.of was removed in org.shredzone.commons:commons-suncalc 2.0 central.sonatype.com - Removed
org.shredzone.commons.suncalc.MoonPosition.of
MoonPosition.of was removed in org.shredzone.commons:commons-suncalc 2.0 central.sonatype.com - Removed
org.shredzone.commons.suncalc.MoonTimes.of
MoonTimes.of was removed in org.shredzone.commons:commons-suncalc 2.0 central.sonatype.com - Removed
org.shredzone.commons.suncalc.MoonTimes.ofUTC
MoonTimes.ofUTC was removed in org.shredzone.commons:commons-suncalc 2.0 central.sonatype.com - Removed
org.shredzone.commons.suncalc.SunPosition.of
SunPosition.of was removed in org.shredzone.commons:commons-suncalc 2.0 central.sonatype.com - Removed
org.shredzone.commons.suncalc.SunTimes.getTime
SunTimes.getTime was removed in org.shredzone.commons:commons-suncalc 2.0 central.sonatype.com - Removed
org.shredzone.commons.suncalc.SunTimes.of
SunTimes.of was removed in org.shredzone.commons:commons-suncalc 2.0 central.sonatype.com - Removed
org.shredzone.commons.suncalc.SunTimes.sunriseTime
SunTimes.sunriseTime was removed in org.shredzone.commons:commons-suncalc 2.0 central.sonatype.com - Removed
org.shredzone.commons.suncalc.SunTimes.sunsetTime
SunTimes.sunsetTime was removed in org.shredzone.commons:commons-suncalc 2.0 central.sonatype.com - Removed
org.shredzone.commons.suncalc.SunTimes.Time.DAWN
org.shredzone.commons.suncalc.SunTimes.Time.DAWN was removed in org.shredzone.commons:commons-suncalc 2.0 central.sonatype.com
And 19 more in this version. Sign up to see every change
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.