|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectdriver.ted.astro.T_RiseSet
public class T_RiseSet
Title: T_Utilities Description: This class will be used to create and maintain the utility classes in the utility package driver.ted.utilities Copyright: (c) 2001 - 2006
| Field Summary | |
|---|---|
static int |
MOON
Moon identifier |
static int |
PLANET
Planet identifier |
static int |
SUN
Sun identifier |
| Constructor Summary | |
|---|---|
T_RiseSet()
Debug constructor to calculate rise and set times for a given time and place |
|
T_RiseSet(T_JulianDate J,
double latitude,
double longitude,
float timeOffset,
int bodyType)
Default constructor to calculate rise and set times for provided date and location The latitude must be in degrees.decimal format. |
|
| Method Summary | |
|---|---|
java.lang.String |
getAmountOfDaylight()
|
double |
getAmountOfDaylightDouble()
|
int |
getBodyType()
|
double |
getLatitude()
|
double |
getLongitude()
|
float |
getOffset()
|
double |
getRiseAzimuth()
|
double |
getRiseElevation()
|
java.lang.String |
getRiseTime()
public function to get the rise time |
double |
getRiseTimeDouble()
|
double |
getSetAzimuth()
|
double |
getSetElevation()
|
java.lang.String |
getSetTime()
|
double |
getSetTimeDouble()
|
double |
getTransitAzimuth()
|
double |
getTransitElevation()
|
java.lang.String |
getTransitTime()
|
double |
getTransitTimeDouble()
|
static void |
main(java.lang.String[] args)
|
void |
setbodyType(int bodyType)
|
void |
setLatitude(double latitude)
|
void |
setLongitude(double longitude)
|
void |
setTimeOffset(float timeOffset)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int SUN
public static final int PLANET
public static final int MOON
| Constructor Detail |
|---|
public T_RiseSet(T_JulianDate J,
double latitude,
double longitude,
float timeOffset,
int bodyType)
J - T_JulianDate object defining the timelatitude - Latitude in degrees.decimallongitude - Longitude in degrees.decimaltimeOffset - Time offset for the reported timesbodyType - Use the defined types in this classpublic T_RiseSet()
| Method Detail |
|---|
public void setLatitude(double latitude)
public void setLongitude(double longitude)
public void setTimeOffset(float timeOffset)
public void setbodyType(int bodyType)
public double getLatitude()
public double getLongitude()
public float getOffset()
public java.lang.String getRiseTime()
public double getRiseTimeDouble()
public double getRiseElevation()
public double getRiseAzimuth()
public java.lang.String getTransitTime()
public double getTransitTimeDouble()
public double getTransitElevation()
public double getTransitAzimuth()
public java.lang.String getSetTime()
public double getSetTimeDouble()
public double getSetElevation()
public double getSetAzimuth()
public int getBodyType()
public java.lang.String getAmountOfDaylight()
public double getAmountOfDaylightDouble()
public static void main(java.lang.String[] args)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||