|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgov.nasa.gsfc.drl.rtstps.core.output.hdf5.IETTime
public class IETTime
Helper class for converting packet times to IETTime which is micros from epoch. The conversion is stored at a 64-bit signed Java long. Calculations show that it will remain non-negative and this is enough bit-space to hold value for many years into the future. However... those calculations could be wrong.
Field Summary | |
---|---|
private static long |
microsPerDay
|
private long |
time
|
Constructor Summary | |
---|---|
IETTime(CDSPacketTime packetTime)
Construct an IETTime from a CDSPacketTime which is the timestamp
format of the mission packets. |
Method Summary | |
---|---|
long |
getTime()
Return the calculated time in a long from microseconds since the mission epoch. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static final long microsPerDay
private final long time
Constructor Detail |
---|
public IETTime(CDSPacketTime packetTime)
CDSPacketTime
which is the timestamp
format of the mission packets.
packetTime
- a CDSPacketTime from a packetMethod Detail |
---|
public long getTime()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |