Class TimeInterval


  • public class TimeInterval
    extends Object
    Capture a time interval. A fixed interval has defined begin and end Instant. An open ended interval has either begin == null or end ==null.
    • Constructor Detail

    • Method Detail

      • contains

        public boolean contains​(Instant i)
      • isValid

        public boolean isValid()
      • getBegin

        public Instant getBegin()
      • setBegin

        public void setBegin​(Instant begin)
      • setEnd

        public void setEnd​(Instant end)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object