Interface Range.Builder

    • Method Detail

      • value

        Range.Builder value​(Integer value)

        The amount of time of the specified unit.

        Parameters:
        value - The amount of time of the specified unit.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • unit

        Range.Builder unit​(String unit)

        The unit of time.

        Parameters:
        unit - The unit of time.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        Unit, Unit
      • unit

        Range.Builder unit​(Unit unit)

        The unit of time.

        Parameters:
        unit - The unit of time.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        Unit, Unit