|
JNISpice version 2.0.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectspice.basic.Duration
spice.basic.JEDDuration
public class JEDDuration
Class JEDDuration measures time intervals in units of Julian ephemeris days; the time system used for this measurement is TDB.
Version 1.0.0 28-NOV-2009 (NJB)
Constructor Summary | |
---|---|
JEDDuration()
No-arguments constructor. |
|
JEDDuration(double days)
Construct a JEDDuration from a double precision count of Julian ephemeris days. |
|
JEDDuration(Duration d,
Time startTime)
Create a TDTDuration from any Duration subclass and a start Time. |
|
JEDDuration(JEDDuration d)
Copy constructor. |
Method Summary | |
---|---|
JEDDuration |
add(JEDDuration d)
Add a JEDDuration to this instance. |
double |
getMeasure()
Return the measure of a TDTDuration. |
double |
getTDBSeconds(Time startTime)
Convert this instance to a count of of TDB seconds, measured relative to a given count of TDB seconds past J2000 TDB. |
JEDDuration |
negate()
Negate a JEDDuration. |
JEDDuration |
scale(double s)
Scale a JEDDuration. |
JEDDuration |
sub(JEDDuration d)
Subtract a JEDDuration from this instance. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JEDDuration()
public JEDDuration(double days)
public JEDDuration(JEDDuration d)
public JEDDuration(Duration d, Time startTime) throws SpiceException
SpiceException
Method Detail |
---|
public double getMeasure() throws SpiceException
getMeasure
in class Duration
SpiceException
public double getTDBSeconds(Time startTime) throws SpiceException
getTDBSeconds
in class Duration
SpiceException
public JEDDuration add(JEDDuration d)
public JEDDuration sub(JEDDuration d)
public JEDDuration negate()
negate
in class Duration
public JEDDuration scale(double s)
scale
in class Duration
|
JNISpice version 2.0.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |