Class AstroTime
java.lang.Object
AstroTime
public class AstroTime
- extends java.lang.Object
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AstroTime
public AstroTime()
AstroTime
public AstroTime(long millis)
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)