public interface TimeOrdered extends Comparable<TimeOrdered>
| Modifier and Type | Method and Description |
|---|---|
default int |
compareTo(TimeOrdered other) |
org.lsst.ccs.utilities.taitime.CCSTimeStamp |
getTime() |
default Duration |
timeDiff(org.lsst.ccs.utilities.taitime.CCSTimeStamp ref)
Calculates the time difference between
this.getTime() and a reference
timestamp. |
default Duration |
timeDiff(TimeOrdered ref)
Calculates the time difference between
this.getTime() and a reference
TimeOrdered object. |
org.lsst.ccs.utilities.taitime.CCSTimeStamp getTime()
default int compareTo(TimeOrdered other)
compareTo in interface Comparable<TimeOrdered>default Duration timeDiff(org.lsst.ccs.utilities.taitime.CCSTimeStamp ref)
this.getTime() and a reference
timestamp.ref - The reference timestamp.Duration (may be negative or zero).default Duration timeDiff(TimeOrdered ref)
this.getTime() and a reference
TimeOrdered object.ref - The object whose time is used as a reference..Duration (may be negative or zero).Copyright © 2022 LSST. All rights reserved.