|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--gov.sns.jca.TimeStampUtil
| Field Summary | |
static double |
epochSecondsOffset
|
| Constructor Summary | |
protected |
TimeStampUtil()
Creates new TimeStampUtil |
| Method Summary | |
static java.util.Date |
date(gov.aps.jca.dbr.TimeStamp timestamp)
return the timestamp as a Java Date Some precision is lost since the Date class only supports millisecond resolution |
static double |
epicsSeconds(double javaSeconds)
|
static double |
javaSeconds(gov.aps.jca.dbr.TimeStamp timestamp)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final double epochSecondsOffset
| Constructor Detail |
protected TimeStampUtil()
| Method Detail |
public static java.util.Date date(gov.aps.jca.dbr.TimeStamp timestamp)
public static double javaSeconds(gov.aps.jca.dbr.TimeStamp timestamp)
public static double epicsSeconds(double javaSeconds)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||