com.atlassian.confluence.search.v2.query
Class DateRangeQuery.DateRange
java.lang.Object
com.atlassian.confluence.search.v2.query.DateRangeQuery.DateRange
- Enclosing class:
- DateRangeQuery
public static class DateRangeQuery.DateRange
- extends Object
Class to represent a date range. Inclusion/exclusion of bounds is settable. Immutable.
DateRangeQuery.DateRange
public DateRangeQuery.DateRange(@Nullable
Date from,
@Nullable
Date to,
boolean includeFrom,
boolean includeTo)
- Construct a DateRange object.
- Parameters:
from
- The date from which this date range begins (can be null)to
- The date on which this date range ends (can be null)includeFrom
- Whether or not the "from date" is inclusiveincludeTo
- Whether or not the "to date" is inclusive
getFrom
public Date getFrom()
getTo
public Date getTo()
isIncludeFrom
public boolean isIncludeFrom()
isIncludeTo
public boolean isIncludeTo()
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object