|
Jeospace API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jeospace.physics.orbit.LunarPhase
An abstract class containing utility functions for calculating the lunar phase and times of the Moon's arrival at the New Moon, First Quarter, Full Moon, and Last Quarter phases. Lunar phase is the angular separation of the Moon and the Sun as observed from the Earth. The New Moon, First Quarter, Full Moon, and Last Quarter phases correspond to the phase angles of 0, 90, 180 and 270 degrees respectively.
Calendar| Constructor Summary | |
protected |
LunarPhase()
Restricted constructor |
| Method Summary | |
static java.util.Calendar |
getNext(LunarPhaseID id)
Get the Calendar date of the next occurrence of the requested
phase transition of the Moon. |
static java.util.Calendar |
getNext(LunarPhaseID id,
java.util.Calendar cal)
Get the Calendar date of the next occurrence of the requested
phase transition of the Moon after the specified Calendar. |
static double |
getPhase()
Get the double representation of the current phase angle of the Moon in degrees. |
static double |
getPhase(java.util.Calendar calendar)
Get the double representation of the phase angle of the Moon at the specified Calendar in degrees. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
protected LunarPhase()
| Method Detail |
public static double getPhase()
public static double getPhase(java.util.Calendar calendar)
Calendar in degrees.
calendar - the Calendar date at which to calculate the phase angle
public static java.util.Calendar getNext(LunarPhaseID id)
Calendar date of the next occurrence of the requested
phase transition of the Moon.
id - the identifier of the lunar phase
Calendar date of the requested phase
public static java.util.Calendar getNext(LunarPhaseID id,
java.util.Calendar cal)
Calendar date of the next occurrence of the requested
phase transition of the Moon after the specified Calendar.
id - the LunarPhaseID identifier of the lunar phasecal - the Calendar date after which to calculate the
requested phase
Calendar date of the requested phase transition
|
Jeospace API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||