Skip to content

Releases: shred/commons-suncalc

v2.6

08 Jul 21:31
c640afb
Compare
Choose a tag to compare
  • Fixed a rare regression in alwaysUp/alwaysDown that was introduced in the last version. Again, thanks to @ssandon.

v2.5

02 Jul 17:47
5c4a491
Compare
Choose a tag to compare
  • Fixed an error in noon and nadir time calculation under some circumstances. Thanks to @ssandon.

v2.4

13 Jan 15:06
b340175
Compare
Choose a tag to compare
  • commons-suncalc can now be used on all Android versions down to API level 11 (Honeycomb). It should even work on earlier versions. Thanks to @ELY3M for the pointer.

v2.3

19 Aug 22:04
a121857
Compare
Choose a tag to compare
  • Add MoonPhase for moon phase calculation. Thanks to @nielsz for the inspiration.
  • All times are now rounded to full minutes. Other time units can be selected as parameter.

v2.2

25 Feb 14:48
f417858
Compare
Choose a tag to compare
  • Documentation gives some more examples
  • New time parameters tomorrow() and plusDays()
  • JSR 305 annotations for null reference tests and null-safe languages

v2.1

28 Nov 22:30
Compare
Choose a tag to compare
  • fullCycle() mode gave bad results under rare circumstances, fixed.
  • getNoon() and getNadir() now always give a result, even if the object stays below/above the horizon.
  • getNoon(), getNadir(), ìsAlwaysUp() and isAlwaysDown() now ignore fullCycle() mode, to give more meaningful results.

v2.0: suncalc reloaded

26 Oct 17:26
Compare
Choose a tag to compare

This is a complete rewrite of SunCalc. It uses a new (and hopefully more accurate) set of formulae, and is tested more thoroughly.

There's a new API. See the migration guide for how to migrate your old code.

It took me a lot of time to read about astronomy calculations, and to rewrite this library. I hope you like the result.

v1.1

30 Apr 14:52
Compare
Choose a tag to compare

Made some more Java adaptions to the API, and added some more Javadocs.

First release

27 Apr 22:18
Compare
Choose a tag to compare

First release of the SunCalc Java port.