Class TimeRange.Builder

  • Enclosing class:
    TimeRange

    public static class TimeRange.Builder
    extends Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • timeStart

        public TimeRange.Builder timeStart​(Date timeStart)
        Time for query to start matching results from.

        Start time must be less than end time otherwise it will result in error.

        Parameters:
        timeStart - the value to set
        Returns:
        this builder
      • timeEnd

        public TimeRange.Builder timeEnd​(Date timeEnd)
        Time for query to stop matching results to.

        End Time must be greater than or equal to start time otherwise it will result in error.

        Parameters:
        timeEnd - the value to set
        Returns:
        this builder
      • timeZone

        public TimeRange.Builder timeZone​(String timeZone)
        Time zone for query.
        Parameters:
        timeZone - the value to set
        Returns:
        this builder