|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<ZenithEvent.Type> com.askgeo.astronomy.ZenithEvent.Type
public static enum ZenithEvent.Type
Enumerates the event types that mark important moments in the course of astronomical body's passage across the celestial sphere of an observer.
Enum Constant Summary | |
---|---|
ASTRONOMICAL_DAWN
Astronomical dawn occurs when the Sun climbs to 18 degrees below the horizon. |
|
ASTRONOMICAL_DUSK
Astronomical dusk occurs when the Sun falls to 18 degrees below the horizon. |
|
CIVIL_DAWN
Civil dawn occurs when the Sun climbs to 6 degrees below the horizon. |
|
CIVIL_DUSK
Civil dusk occurs when the Sun falls to 6 degrees below the horizon. |
|
MAX_ELEVATION
The moment when the body is at a local maximum in elevation (i.e., the highest above the horizon). |
|
MIN_ELEVATION
The moment when the body is at a local minimum in elevation (i.e., the furthest below the horizon). |
|
NAUTICAL_DAWN
Nautical dawn occurs when the Sun climbs to 12 degrees below the horizon. |
|
NAUTICAL_DUSK
Nautical dusk occurs when the Sun falls to 12 degrees below the horizon. |
|
RISE_CENTER
The rise of the center of the disk of an astronomical body is a less common definition for the rise of the Sun or Moon, but it is included for the sake of completeness. |
|
RISE_LOWER_LIMB
The rise of the lower limb of an astronomical body is the time when the bottom of the body rises above the horizon. |
|
RISE_UPPER_LIMB
The rise of the upper limb of an astronomical body is the time when the top of the body first rises above the horizon. |
|
SAMPLE
A moment in time that is not otherwise important but that has been recorded for internal reasons. |
|
SET_CENTER
The setting of the center of the disk of an astronomical body is a less common definition for the setting of the Sun or Moon, but it is included for the sake of completeness. |
|
SET_LOWER_LIMB
The set of the lower limb of an astronomical body is the time when the bottom of the body falls below the horizon. |
|
SET_UPPER_LIMB
The setting of the upper limb of an astronomical body is the time when the top of the body falls below the horizon and no part of the body is visible any longer. |
|
SOLAR_DAWN
Solar dawn occurs when the Sun climbs to 6 degrees above the horizon. |
|
SOLAR_DUSK
Solar dusk occurs when the Sun falls to 6 degrees above the horizon. |
Method Summary | |
---|---|
double |
elevationDeg()
The elevation above the horizon (in degrees) at which this event takes place. |
int |
signAfter()
Indicates whether this event occurs during a rising of the body (the elevation is increasing over time), the setting of the body (the elevation is degreasing over time), or at a time when the body is neither rising nor setting (e.g., at minimum or maximum elevation), or when it is indeterminate (e.g., with a sample). |
static ZenithEvent.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static ZenithEvent.Type[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final ZenithEvent.Type SAMPLE
public static final ZenithEvent.Type MIN_ELEVATION
public static final ZenithEvent.Type ASTRONOMICAL_DAWN
public static final ZenithEvent.Type NAUTICAL_DAWN
public static final ZenithEvent.Type CIVIL_DAWN
public static final ZenithEvent.Type RISE_UPPER_LIMB
public static final ZenithEvent.Type RISE_CENTER
public static final ZenithEvent.Type RISE_LOWER_LIMB
public static final ZenithEvent.Type SOLAR_DAWN
public static final ZenithEvent.Type MAX_ELEVATION
public static final ZenithEvent.Type SOLAR_DUSK
public static final ZenithEvent.Type SET_LOWER_LIMB
public static final ZenithEvent.Type SET_CENTER
public static final ZenithEvent.Type SET_UPPER_LIMB
public static final ZenithEvent.Type CIVIL_DUSK
public static final ZenithEvent.Type NAUTICAL_DUSK
public static final ZenithEvent.Type ASTRONOMICAL_DUSK
Method Detail |
---|
public static ZenithEvent.Type[] values()
for (ZenithEvent.Type c : ZenithEvent.Type.values()) System.out.println(c);
public static ZenithEvent.Type 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 name
java.lang.NullPointerException
- if the argument is nullpublic double elevationDeg()
public int signAfter()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |