Package org.shredzone.commons.suncalc
Class MoonTimes
java.lang.Object
org.shredzone.commons.suncalc.MoonTimes
Calculates the times of the moon.
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic MoonTimes.Parameters
compute()
Starts the computation ofMoonTimes
.getRise()
Moonrise time.getSet()
Moonset time.boolean
true
if the moon never rises/sets, but is always below the horizon within the next 24 hours.boolean
true
if the moon never rises/sets, but is always above the horizon within the next 24 hours.toString()
-
Method Details
-
compute
Starts the computation ofMoonTimes
.- Returns:
MoonTimes.Parameters
to set.
-
getRise
Moonrise time.null
if the moon does not rise that day. -
getSet
Moonset time.null
if the moon does not set that day. -
isAlwaysUp
true
if the moon never rises/sets, but is always above the horizon within the next 24 hours.Note that
MoonTimes.Parameters.fullCycle()
does not affect this result. -
isAlwaysDown
true
if the moon never rises/sets, but is always below the horizon within the next 24 hours.Note that
MoonTimes.Parameters.fullCycle()
does not affect this result. -
toString
-