Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
TimeRange |
build() |
TimeRange.Builder |
copy(TimeRange model) |
TimeRange.Builder |
timeEnd(Date timeEnd)
Time for query to stop matching results to.
|
TimeRange.Builder |
timeStart(Date timeStart)
Time for query to start matching results from.
|
TimeRange.Builder |
timeZone(String timeZone)
Time zone for query.
|
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.
timeStart
- the value to setpublic 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.
timeEnd
- the value to setpublic TimeRange.Builder timeZone(String timeZone)
Time zone for query.
timeZone
- the value to setpublic TimeRange build()
public TimeRange.Builder copy(TimeRange model)
Copyright © 2016–2024. All rights reserved.