Class Interval.IntervalBuilder

  • Enclosing class:
    Interval

    public static class Interval.IntervalBuilder
    extends Object
    • Method Detail

      • to

        public Interval to​(LocalDateTime end)
        Creates an Interval from the current start time until the given end time.
        Parameters:
        end - must not be null and after the current start time or equal to it.
        Returns:
        will never be null.