Class TimeInterval

java.lang.Object
org.yamcs.studio.core.TimeInterval
All Implemented Interfaces:
Serializable

public class TimeInterval extends Object implements Serializable
Time interval where both ends can be open
See Also:
  • Constructor Details

    • TimeInterval

      public TimeInterval(Instant start, Instant stop)
    • TimeInterval

      public TimeInterval()
      Creates a TimeInterval with no ends
  • Method Details

    • starting

      public static TimeInterval starting(Instant start)
    • hasStart

      public boolean hasStart()
    • hasStop

      public boolean hasStop()
    • setStart

      public void setStart(Instant start)
    • getStart

      public Instant getStart()
    • setStop

      public void setStop(Instant stop)
    • getStop

      public Instant getStop()
    • calculateStart

      public Instant calculateStart()
    • calculateStop

      public Instant calculateStop()
    • equals

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

      public String toString()
      Overrides:
      toString in class Object