Class TimestampValue

java.lang.Object
org.yamcs.parameter.Value
org.yamcs.parameter.TimestampValue

public class TimestampValue extends Value
Picosecond resolution timestamp stored as (millis, picos)
  • Constructor Details

    • TimestampValue

      public TimestampValue(long millis)
    • TimestampValue

      public TimestampValue(long millis, int picos)
  • Method Details

    • getType

      public org.yamcs.protobuf.Yamcs.Value.Type getType()
      Specified by:
      getType in class Value
    • getTimestampValue

      public long getTimestampValue()
      Overrides:
      getTimestampValue in class Value
    • millis

      public long millis()
    • picos

      public int picos()
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object