Package org.shredzone.commons.suncalc
Interface MoonPhase.Parameters
- All Superinterfaces:
Builder<MoonPhase>
,GenericParameter<MoonPhase.Parameters>
,TimeParameter<MoonPhase.Parameters>
- Enclosing class:
- MoonPhase
public static interface MoonPhase.Parameters
extends GenericParameter<MoonPhase.Parameters>, TimeParameter<MoonPhase.Parameters>, Builder<MoonPhase>
Collects all parameters for
MoonPhase
.-
Method Summary
Modifier and TypeMethodDescriptionphase
(double phase) Sets a free phase to be used.phase
(MoonPhase.Phase phase) Sets the desiredMoonPhase.Phase
.Methods inherited from interface org.shredzone.commons.suncalc.param.GenericParameter
copy
-
Method Details
-
phase
Sets the desiredMoonPhase.Phase
.Defaults to
MoonPhase.Phase.NEW_MOON
.- Parameters:
phase
-MoonPhase.Phase
to be used.- Returns:
- itself
-
phase
Sets a free phase to be used.- Parameters:
phase
- Desired phase, in degrees. 0 = new moon, 90 = first quarter, 180 = full moon, 270 = third quarter.- Returns:
- itself
-