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

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


Constructor Summary
DateRangeQuery.DateRange(java.util.Date from, java.util.Date to, boolean includeFrom, boolean includeTo)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.util.Date getFrom()
           
 java.util.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(java.util.Date from,
                                java.util.Date to,
                                boolean includeFrom,
                                boolean includeTo)
Method Detail

getFrom

public java.util.Date getFrom()

getTo

public java.util.Date getTo()

isIncludeFrom

public boolean isIncludeFrom()

isIncludeTo

public boolean isIncludeTo()

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object


Copyright © 2003-2010 Atlassian. All Rights Reserved.