public static enum SunPhase.Name extends Enum<SunPhase.Name>
| Modifier and Type | Method and Description |
|---|---|
static SunPhase.Name |
fromValue(String value) |
String |
toString() |
static SunPhase.Name |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SunPhase.Name[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SunPhase.Name NIGHT_MORNING
public static final SunPhase.Name TWILIGHT_ASTRONOMICAL_MORNING
public static final SunPhase.Name TWILIGHT_NAUTICAL_MORNING
public static final SunPhase.Name TWILIGHT_CIVIL_MORNING
public static final SunPhase.Name SUNRISE
public static final SunPhase.Name GOLDEN_HOUR_MORNING
public static final SunPhase.Name DAYLIGHT
public static final SunPhase.Name GOLDEN_HOUR_EVENING
public static final SunPhase.Name SUNSET
public static final SunPhase.Name TWILIGHT_CIVIL_EVENING
public static final SunPhase.Name TWILIGHT_NAUTICAL_EVENING
public static final SunPhase.Name TWILIGHT_ASTRONOMICAL_EVENING
public static final SunPhase.Name NIGHT_EVENING
public static SunPhase.Name[] values()
for (SunPhase.Name c : SunPhase.Name.values()) System.out.println(c);
public static SunPhase.Name 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 toString()
toString in class Enum<SunPhase.Name>public static SunPhase.Name fromValue(String value)
Copyright © 2017. All rights reserved.