driver.ted.astro
Class T_Sidereal

java.lang.Object
  extended by driver.ted.astro.T_Sidereal
All Implemented Interfaces:
java.io.Serializable

public class T_Sidereal
extends java.lang.Object
implements java.io.Serializable

Title: T_Sidereal Description: This class will be used to calculate and return sidereal times Copyright: (c) 2001 - 2006

Version:
1.1
Author:
Ted Driver
See Also:
Serialized Form

Constructor Summary
T_Sidereal()
          Constructor
 
Method Summary
 double getApparentSiderealTime(T_JulianDate JD)
          The apparent sidereal time in degrees at the specified julian date.
 double getSiderealTime(T_JulianDate JD)
          Returns the Sideral Time at Greenwich in degrees
static void main(java.lang.String[] args)
          Test program
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

T_Sidereal

public T_Sidereal()
Constructor

Method Detail

getSiderealTime

public double getSiderealTime(T_JulianDate JD)
Returns the Sideral Time at Greenwich in degrees

Parameters:
JD - The T_JulianDate object defining the time for which the sidereal time is desired
Returns:
Sidereal time in degrees

getApparentSiderealTime

public double getApparentSiderealTime(T_JulianDate JD)
The apparent sidereal time in degrees at the specified julian date.

Parameters:
JD - T_JulianDate object defining the julian date for which the sidereal time is desired
Returns:
Apparent sidereal time in degrees

main

public static void main(java.lang.String[] args)
Test program

Parameters:
args - args