Skip to content

1.1.0

Compare
Choose a tag to compare
@caarmen caarmen released this 01 Jan 22:37
· 4 commits to master since this release

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.