astro
Interface SiderealTiming

All Known Implementing Classes:
SimpleSid

public interface SiderealTiming

An interface defining the calculation of the sidereal time out of a Date object and a Site instance describing the location of the observer on the Earth. Return value should always be in radian.


Field Summary
static double SOL_TO_SID
          Conversion factor from solar time to sidereal time.
 
Method Summary
 double getLocalSidereal(Site location, Date time)
          Returns the local sidereal time in radians for the specified location at the given time.
 double getSiderealGMT(Date time)
          Returns the local sidereal time at Greenwich, in radians.
 

Field Detail

SOL_TO_SID

static final double SOL_TO_SID
Conversion factor from solar time to sidereal time.

See Also:
Constant Field Values
Method Detail

getLocalSidereal

double getLocalSidereal(Site location,
                        Date time)
Returns the local sidereal time in radians for the specified location at the given time. The specified time is UTC, as the suggested time base for Date.


getSiderealGMT

double getSiderealGMT(Date time)
Returns the local sidereal time at Greenwich, in radians.