Skip to content

Releases: caarmen/SunriseSunset

1.1.1: `getDayLength()` returns a value in milliseconds

25 Nov 17:12
Compare
Choose a tag to compare
1.1.1: `getDayLength()` returns a value in milliseconds

1.1.0

01 Jan 22:37
Compare
Choose a tag to compare

Added new methods:

getSolarNoon()
isCivilTwilight()
isNauticalTwilight()
isAstronomicalTwilight()
isTwilight()
getDayPeriod()
getDayLength()

Changed the behavior of isNight(). It now returns true if the given time is between the astronomical dusk and dawn. It previously returned true if the given time was between sunset and sunrise.

1.0.3

01 Jan 22:37
Compare
Choose a tag to compare
  • Fixed some javadoc
  • Added some unit tests
  • Updated pom file which is deployed to bintray

1.0.2

16 May 19:11
Compare
Choose a tag to compare

Fixed issue #2 : exception in isDay()/isNight() when it's day (or night) 24 hours.