Class TimeInterval

    • Constructor Detail

      • TimeInterval

        public TimeInterval​(long start,
                            long end)
      • TimeInterval

        public TimeInterval()
        Creates a TimeInterval with no start and no end
    • Method Detail

      • openStart

        public static TimeInterval openStart​(long end)
        creates a TimeInterval with no start but with an end
      • openEnd

        public static TimeInterval openEnd​(long start)
      • hasStart

        public boolean hasStart()
      • hasEnd

        public boolean hasEnd()
      • setStart

        public void setStart​(long start)
      • getStart

        public long getStart()
      • setEnd

        public void setEnd​(long end)
      • getEnd

        public long getEnd()
      • contains0

        public boolean contains0​(long t)
        Checks that [this.start, this.end) contains t
      • toStringEncoded

        public String toStringEncoded()