Interface TimePeriod.Builder

  • Method Details

    • startTimeInclusive

      TimePeriod.Builder startTimeInclusive(Instant startTimeInclusive)

      The start time of the period, inclusive. Events at or after this time are included.

      Parameters:
      startTimeInclusive - The start time of the period, inclusive. Events at or after this time are included.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • endTimeExclusive

      TimePeriod.Builder endTimeExclusive(Instant endTimeExclusive)

      The end time of the period, exclusive. Events before this time are included.

      Parameters:
      endTimeExclusive - The end time of the period, exclusive. Events before this time are included.
      Returns:
      Returns a reference to this object so that method calls can be chained together.