Class TimeIntervals

    • Constructor Detail

      • TimeIntervals

        public TimeIntervals()
        Construct an empty collection of time interval.
      • TimeIntervals

        public TimeIntervals​(LocalDateTime begin,
                             LocalDateTime end)
        Construct a collection consisting of one time interval.
        Parameters:
        begin - the beginning time
        end - the ending time
      • TimeIntervals

        public TimeIntervals​(Interval<LocalDateTime> interval)
        Construct a collection consisting of one time interval.
        Parameters:
        interval - a time interval
      • TimeIntervals

        public TimeIntervals​(Interval<LocalDateTime>... intervals)
        Construct a collection of time intervals.
        Parameters:
        intervals - time intervals
      • TimeIntervals

        public TimeIntervals​(Intervals<LocalDateTime> that)
        Copy constructor.
        Parameters:
        that - a collection of time intervals