|
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.TDTDuration
public class TDTDuration
Class TDTDuration measures time intervals in units of TDT seconds.
Version 1.0.0 03-NOV-2009 (NJB)
Constructor Summary | |
---|---|
TDTDuration()
No-arguments constructor. |
|
TDTDuration(double seconds)
Construct a TDTDuration from a double precision count of seconds past J2000 TDT. |
|
TDTDuration(Duration d,
Time startTime)
Create a TDTDuration from any Duration subclass and a start Time. |
|
TDTDuration(TDTDuration d)
Copy constructor. |
Method Summary | |
---|---|
TDTDuration |
add(TDTDuration d)
Add a TDTDuration 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. |
TDTDuration |
negate()
Negate a TDTDuration. |
TDTDuration |
scale(double s)
Scale a TDTDuration. |
TDTDuration |
sub(TDTDuration d)
Subtract a TDTDuration from this instance. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TDTDuration()
public TDTDuration(double seconds)
public TDTDuration(TDTDuration d)
public TDTDuration(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 TDTDuration add(TDTDuration d)
public TDTDuration sub(TDTDuration d)
public TDTDuration negate()
negate
in class Duration
public TDTDuration 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 |