Package org.shredzone.commons.suncalc
Interface MoonTimes.Parameters
- All Superinterfaces:
Builder<MoonTimes>
,GenericParameter<MoonTimes.Parameters>
,LocationParameter<MoonTimes.Parameters>
,TimeParameter<MoonTimes.Parameters>
,TimeResultParameter<MoonTimes.Parameters>
- Enclosing class:
- MoonTimes
public static interface MoonTimes.Parameters
extends GenericParameter<MoonTimes.Parameters>, LocationParameter<MoonTimes.Parameters>, TimeParameter<MoonTimes.Parameters>, TimeResultParameter<MoonTimes.Parameters>, Builder<MoonTimes>
Collects all parameters for
MoonTimes
.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.shredzone.commons.suncalc.param.TimeResultParameter
TimeResultParameter.Unit
-
Method Summary
Modifier and TypeMethodDescriptionComputes until rise and set times are found, even if the moon needs more than a day for it.oneDay()
Checks only the next 24 hours.Methods inherited from interface org.shredzone.commons.suncalc.param.GenericParameter
copy
Methods inherited from interface org.shredzone.commons.suncalc.param.LocationParameter
at, at, height, latitude, latitude, longitude, longitude, sameLocationAs
Methods inherited from interface org.shredzone.commons.suncalc.param.TimeParameter
localTime, midnight, now, on, on, on, on, plusDays, sameTimeAs, timezone, timezone, today, tomorrow, utc
Methods inherited from interface org.shredzone.commons.suncalc.param.TimeResultParameter
truncatedTo
-
Method Details
-
oneDay
Checks only the next 24 hours. Rise or set times can benull
if the moon never reaches the point during one day.This is the default.
- Returns:
- itself
-
fullCycle
Computes until rise and set times are found, even if the moon needs more than a day for it. This can increase computation time.- Returns:
- itself
-