public static class DateRangeQuery.Builder extends Object
DateRangeQuery
objectConstructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
DateRangeQuery |
build() |
DateRangeQuery.Builder |
fieldName(String fieldName) |
DateRangeQuery.Builder |
fromDate(Date fromDate) |
DateRangeQuery.Builder |
fromDate(org.joda.time.DateTime fromDate) |
DateRangeQuery.Builder |
includeFrom(boolean includeFrom) |
DateRangeQuery.Builder |
includeTo(boolean includeTo) |
DateRangeQuery.Builder |
interval(org.joda.time.Interval interval) |
DateRangeQuery.Builder |
queryType(DateRangeQuery.DateRangeQueryType queryType) |
DateRangeQuery.Builder |
toDate(Date toDate) |
DateRangeQuery.Builder |
toDate(org.joda.time.DateTime toDate) |
public DateRangeQuery.Builder queryType(DateRangeQuery.DateRangeQueryType queryType)
public DateRangeQuery.Builder fromDate(@Nullable Date fromDate)
public DateRangeQuery.Builder fromDate(@Nullable org.joda.time.DateTime fromDate)
public DateRangeQuery.Builder toDate(@Nullable Date toDate)
public DateRangeQuery.Builder toDate(@Nullable org.joda.time.DateTime toDate)
public DateRangeQuery.Builder includeFrom(boolean includeFrom)
public DateRangeQuery.Builder includeTo(boolean includeTo)
public DateRangeQuery.Builder interval(org.joda.time.Interval interval)
public DateRangeQuery.Builder fieldName(String fieldName)
public DateRangeQuery build()
Copyright © 2003–2016 Atlassian. All rights reserved.