|
JEphem site tig API Build classes |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--jephem.astro.spacetime.Time
Contains static methods used when dealing with time.
Related constants can be found in TimeConstants
.
Field Summary | |
static java.lang.String[] |
ENGLISH_TIMEFRAME_NAMES
Contains the english names of time frames ; use constants UTC or
TT_TDB of this interface to access to the names. |
Fields inherited from interface jephem.astro.spacetime.TimeConstants |
DAYS_PER_CENTURY, DAYS_PER_MILLENIUM, DAYS_PER_YEAR, JD1900, JD2000, JD2100, SECONDS_PER_DAY, TT_TDB, UTC |
Constructor Summary | |
Time()
|
Method Summary | |
static double |
calcDeltaT(double utc)
Returns the value deltaT = TAI - UTC, in seconds. |
static double |
calcMjd(double jd)
Returns the 'Modified Julian Day', number of Julian Days elapsed since November 17 1858, 00:00:00. |
static java.lang.String |
getTimeFrameLabel(int timeFrameIndex)
Returns the english names of time frames ; use constants UTC or
TT_TDB of TimeConstants to access to the names. |
static double |
getTT(double utc)
Computes TT from UTC, using the formula TT = UTC + 32.184s + deltaT. |
static double |
getUTC(double tt)
Computes UTC from TT, using the formula UTC = TT - 32.184s - deltaT. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String[] ENGLISH_TIMEFRAME_NAMES
UTC
or
TT_TDB
of this interface to access to the names.
Constructor Detail |
public Time()
Method Detail |
public static double calcDeltaT(double utc)
utc
- A UTC date expressed in Julian Days.
public static double calcMjd(double jd)
jd
- A date expressed in Julian Days.public static java.lang.String getTimeFrameLabel(int timeFrameIndex)
UTC
or
TT_TDB
of TimeConstants
to access to the names.
public static double getTT(double utc)
utc
- A UTC date expressed in Julian Days.
public static double getUTC(double tt)
|
JEphem site tig API Build classes |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |