public enum PhaseType extends Enum<PhaseType>
| Enum Constant and Description |
|---|
FIRST_QUARTER |
FULL_MOON |
NEW_MOON |
THIRD_QUARTER |
WANING_CRESCENT |
WANING_GIBBOUS |
WAXING_CRESCENT |
WAXING_GIBBOUS |
| Modifier and Type | Method and Description |
|---|---|
static PhaseType |
findByValue(String value) |
String |
getValue() |
static PhaseType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PhaseType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PhaseType NEW_MOON
public static final PhaseType WAXING_CRESCENT
public static final PhaseType FIRST_QUARTER
public static final PhaseType WAXING_GIBBOUS
public static final PhaseType FULL_MOON
public static final PhaseType WANING_GIBBOUS
public static final PhaseType THIRD_QUARTER
public static final PhaseType WANING_CRESCENT
public static PhaseType[] values()
for (PhaseType c : PhaseType.values()) System.out.println(c);
public static PhaseType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getValue()
Copyright © 2015 Amedia. All rights reserved.