com.atlassian.confluence.search.v2.query
Class DateRangeQuery.DateRange

java.lang.Object
  extended by 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.


Constructor Summary
DateRangeQuery.DateRange(Date from, Date to, boolean includeFrom, boolean includeTo)
          Construct a DateRange object.
 
Method Summary
 boolean equals(Object obj)
           
 Date getFrom()
           
 Date getTo()
           
 int hashCode()
           
 boolean isIncludeFrom()
           
 boolean isIncludeTo()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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 inclusive
includeTo - Whether or not the "to date" is inclusive
Method Detail

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


Copyright © 2003-2013 Atlassian. All Rights Reserved.