Package org.shredzone.commons.suncalc
Class MoonTimes
java.lang.Object
org.shredzone.commons.suncalc.MoonTimes
Calculates the times of the moon.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic MoonTimes.Parameterscompute()Starts the computation ofMoonTimes.getRise()Moonrise time.getSet()Moonset time.booleantrueif the moon never rises/sets, but is always below the horizon.booleantrueif the moon never rises/sets, but is always above the horizon.toString()
-
Method Details
-
compute
Starts the computation ofMoonTimes.- Returns:
MoonTimes.Parametersto set.
-
getRise
Moonrise time.nullif the moon does not rise that day. -
getSet
Moonset time.nullif the moon does not set that day. -
isAlwaysUp
trueif the moon never rises/sets, but is always above the horizon. -
isAlwaysDown
trueif the moon never rises/sets, but is always below the horizon. -
toString
-