public static class

DateRangeQuery.DateRange

extends Object
java.lang.Object
   ↳ com.atlassian.confluence.search.v2.query.DateRangeQuery.DateRange

Class Overview

Class to represent a date range. Inclusion/exclusion of bounds is settable. Immutable.

Summary

Public Constructors
DateRangeQuery.DateRange(Date from, Date to, boolean includeFrom, boolean includeTo)
Construct a DateRange object.
Public Methods
boolean equals(Object obj)
Date getFrom()
Date getTo()
int hashCode()
boolean isIncludeFrom()
boolean isIncludeTo()
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public DateRangeQuery.DateRange (Date from, 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 inclusive
includeTo Whether or not the "to date" is inclusive

Public Methods

public boolean equals (Object obj)

public Date getFrom ()

public Date getTo ()

public int hashCode ()

public boolean isIncludeFrom ()

public boolean isIncludeTo ()