java.io.Serializable
, java.lang.Comparable<TimeClock.TidePhase>
public static enum TimeClock.TidePhase extends java.lang.Enum<TimeClock.TidePhase>
Enum Constant | Description |
---|---|
NEAP_HIGH |
|
NEAP_LOW |
|
NO_TIDE |
|
NORMAL_HIGH |
|
NORMAL_LOW |
|
SPRING_HIGH |
|
SPRING_LOW |
Modifier and Type | Method | Description |
---|---|---|
java.lang.String |
getDesc() |
|
double |
getFactor() |
|
static TimeClock.TidePhase |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static TimeClock.TidePhase[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TimeClock.TidePhase SPRING_HIGH
public static final TimeClock.TidePhase SPRING_LOW
public static final TimeClock.TidePhase NORMAL_HIGH
public static final TimeClock.TidePhase NORMAL_LOW
public static final TimeClock.TidePhase NEAP_HIGH
public static final TimeClock.TidePhase NEAP_LOW
public static final TimeClock.TidePhase NO_TIDE
public static TimeClock.TidePhase[] values()
for (TimeClock.TidePhase c : TimeClock.TidePhase.values()) System.out.println(c);
public static TimeClock.TidePhase 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()