Interface TimeRange.Builder

    • Method Detail

      • start

        TimeRange.Builder start​(Instant start)

        The start time of the time range.

        Specify null to leave the start time open-ended.

        Parameters:
        start - The start time of the time range.

        Specify null to leave the start time open-ended.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • end

        TimeRange.Builder end​(Instant end)

        The end time of the time range.

        Specify null to leave the end time open-ended.

        Parameters:
        end - The end time of the time range.

        Specify null to leave the end time open-ended.

        Returns:
        Returns a reference to this object so that method calls can be chained together.