Class AstroTime

java.lang.Object
  extended by AstroTime

public class AstroTime
extends java.lang.Object


Constructor Summary
AstroTime()
           
AstroTime(long millis)
           
 
Method Summary
static AstroTime forISOTimeStamp(java.lang.String text)
           
 BesselianEpoch getBesselianEpoch()
           
 java.util.Date getDate()
           
 double getGPSTime()
           
 double getGST()
           
 java.lang.String getISOTimeStamp()
           
 double getJD()
           
 JulianEpoch getJulianEpoch()
           
 double getLST(double longitude)
           
 double getMeanFictiveEquatorialSunTime()
           
 long getMillis()
           
 double getMJD()
           
 double getTAI()
           
 double getTCG()
           
 double getTimeFromJ2000()
           
 double getTT()
           
 double getUTC()
           
 AstroTime now()
           
 void parseISOTimeStamp(java.lang.String text)
           
 void setGPSTime(double GPST)
           
 void setJD(double JD)
           
 void setMillis(long millis)
           
 void setMJD(double date)
           
 void setTAI(double TAI)
           
 void setTCG(double TCG)
           
 void setTime(java.util.Date date)
           
 void setTimeFromJ2000(double time)
           
 void setTT(double TT)
           
 void setUTC(double UTC)
           
static double timeOfDay(double time)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AstroTime

public AstroTime()

AstroTime

public AstroTime(long millis)
Method Detail

now

public AstroTime now()

setMJD

public void setMJD(double date)

setJD

public void setJD(double JD)

setMillis

public void setMillis(long millis)

setTime

public void setTime(java.util.Date date)

setTT

public void setTT(double TT)

setUTC

public void setUTC(double UTC)

setTAI

public void setTAI(double TAI)

setGPSTime

public void setGPSTime(double GPST)

setTCG

public void setTCG(double TCG)

setTimeFromJ2000

public void setTimeFromJ2000(double time)

getMJD

public double getMJD()

getJD

public double getJD()

getMillis

public long getMillis()

getDate

public java.util.Date getDate()

getTT

public double getTT()

getUTC

public double getUTC()

getTAI

public double getTAI()

getGPSTime

public double getGPSTime()

getTCG

public double getTCG()

getTimeFromJ2000

public double getTimeFromJ2000()

getMeanFictiveEquatorialSunTime

public double getMeanFictiveEquatorialSunTime()

getGST

public double getGST()

getLST

public double getLST(double longitude)

getBesselianEpoch

public BesselianEpoch getBesselianEpoch()

getJulianEpoch

public JulianEpoch getJulianEpoch()

parseISOTimeStamp

public void parseISOTimeStamp(java.lang.String text)
                       throws java.text.ParseException
Throws:
java.text.ParseException

getISOTimeStamp

public java.lang.String getISOTimeStamp()

forISOTimeStamp

public static AstroTime forISOTimeStamp(java.lang.String text)
                                 throws java.text.ParseException
Throws:
java.text.ParseException

timeOfDay

public static double timeOfDay(double time)