java.io.Serializable
, java.lang.Comparable<TimeClock.MoonPhase>
public static enum TimeClock.MoonPhase extends java.lang.Enum<TimeClock.MoonPhase>
Enum Constant | Description |
---|---|
BLUE |
|
FULL |
|
NEW |
|
WANECRESCENT |
|
WANEGIBBOUS |
|
WANEQUARTER |
|
WAXCRESCENT |
|
WAXGIBBOUS |
|
WAXQUARTER |
Modifier and Type | Method | Description |
---|---|---|
java.lang.String |
getDesc() |
|
double |
getFactor() |
|
TimeClock.TidePhase |
getHighTide() |
|
TimeClock.TidePhase |
getLowTide() |
|
static TimeClock.MoonPhase |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static TimeClock.MoonPhase[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TimeClock.MoonPhase NEW
public static final TimeClock.MoonPhase WAXCRESCENT
public static final TimeClock.MoonPhase WAXQUARTER
public static final TimeClock.MoonPhase WAXGIBBOUS
public static final TimeClock.MoonPhase FULL
public static final TimeClock.MoonPhase WANEGIBBOUS
public static final TimeClock.MoonPhase WANEQUARTER
public static final TimeClock.MoonPhase WANECRESCENT
public static final TimeClock.MoonPhase BLUE
public static TimeClock.MoonPhase[] values()
for (TimeClock.MoonPhase c : TimeClock.MoonPhase.values()) System.out.println(c);
public static TimeClock.MoonPhase valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getDesc()
public double getFactor()
public TimeClock.TidePhase getHighTide()
public TimeClock.TidePhase getLowTide()