Class TimeInterval


  • public class TimeInterval
    extends Interval<LocalDateTime>
    This is a time interval.

    This class is immutable.

    • Constructor Detail

      • TimeInterval

        public TimeInterval​(LocalDateTime begin,
                            LocalDateTime end)
        Construct a time interval from two time points.
        Parameters:
        begin - the beginning time
        end - the ending time