public static enum SunUtil.Twilight extends Enum<SunUtil.Twilight>
| Enum Constant and Description |
|---|
ASTRONOMICAL |
CIVIL |
DAYLIGHT |
NAUTICAL |
NIGHT |
| Modifier and Type | Method and Description |
|---|---|
static SunUtil.Twilight |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SunUtil.Twilight[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SunUtil.Twilight NIGHT
public static final SunUtil.Twilight ASTRONOMICAL
public static final SunUtil.Twilight NAUTICAL
public static final SunUtil.Twilight CIVIL
public static final SunUtil.Twilight DAYLIGHT
public static SunUtil.Twilight[] values()
for (SunUtil.Twilight c : SunUtil.Twilight.values()) System.out.println(c);
public static SunUtil.Twilight 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 nullCopyright © 2013–2021. All rights reserved.