Class Time.Range

  • Enclosing class:
    Time

    public static final class Time.Range
    extends java.lang.Object
    Represents a range of times.
    • Constructor Detail

      • Range

        public Range​(Time time)
      • Range

        public Range​(Time start,
                     Time end)
      • Range

        public Range​(java.lang.String time)
      • Range

        public Range​(java.lang.String start,
                     java.lang.String end)
      • Range

        public Range​(Dictionary<java.lang.String,​?> range)
      • Range

        public Range​(Sequence<?> range)
    • Method Detail

      • getLength

        public int getLength()
      • contains

        public boolean contains​(Time.Range range)
      • contains

        public boolean contains​(Time time)
      • intersects

        public boolean intersects​(Time.Range range)
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • decode

        public static Time.Range decode​(java.lang.String value)