org.epics.pvmanager.data
Interface Time

All Known Subinterfaces:
VByteArray, VDouble, VDoubleArray, VEnum, VEnumArray, VFloatArray, VInt, VIntArray, VMultiDouble, VMultiEnum, VMultiInt, VMultiString, VNumber, VNumberArray, VShortArray, VStatistics, VString, VStringArray

public interface Time

Time information.

Author:
carcassi

Method Summary
 Timestamp getTimestamp()
          The timestamp of the value, typically indicating when it was generated.
 TimeStamp getTimeStamp()
          Deprecated. the use of TimeStamp is being discontinued in favor of Timestamp: use getTimestamp() instead
 java.lang.Integer getTimeUserTag()
          Returns a user defined tag, that can be used to store extra time information, such as beam shot.
 boolean isTimeValid()
          Returns a data source specific flag to indicate whether the time information should be trusted.
 

Method Detail

getTimeStamp

@Deprecated
TimeStamp getTimeStamp()
Deprecated. the use of TimeStamp is being discontinued in favor of Timestamp: use getTimestamp() instead

The timestamp of the value, typically indicating when it was generated. If never connected, it returns the time when it was last determined that no connection was made.

Returns:
the timestamp

getTimestamp

Timestamp getTimestamp()
The timestamp of the value, typically indicating when it was generated. If never connected, it returns the time when it was last determined that no connection was made.

Returns:
the timestamp

getTimeUserTag

java.lang.Integer getTimeUserTag()
Returns a user defined tag, that can be used to store extra time information, such as beam shot.

Returns:
the user tag

isTimeValid

boolean isTimeValid()
Returns a data source specific flag to indicate whether the time information should be trusted. Typical cases are when records were not processes and the timestamp has a zero time.

Returns:
true if the time information is valid