Interface DateTimeRange.Builder

    • Method Detail

      • from

        DateTimeRange.Builder from​(Instant from)

        The starting date and time of a time range.

        Parameters:
        from - The starting date and time of a time range.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • to

        DateTimeRange.Builder to​(Instant to)

        The ending date and time of a time range.

        Parameters:
        to - The ending date and time of a time range.
        Returns:
        Returns a reference to this object so that method calls can be chained together.