public static final class SearchQuery.DateOperator extends Object implements SearchQuery.HeaderOperator
Modifier and Type | Field and Description |
---|---|
static int |
AFTER |
static int |
BEFORE |
static int |
ON |
Constructor and Description |
---|
SearchQuery.DateOperator(SearchQuery.DateComparator type,
Date date,
SearchQuery.DateResolution res) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Date |
getDate() |
SearchQuery.DateResolution |
getDateResultion() |
SearchQuery.DateComparator |
getType()
Gets the operator type.
|
int |
hashCode() |
String |
toString()
Constructs a
String with all attributes in name = value
format. |
public static final int BEFORE
public static final int AFTER
public static final int ON
public SearchQuery.DateOperator(SearchQuery.DateComparator type, Date date, SearchQuery.DateResolution res)
public Date getDate()
public SearchQuery.DateResolution getDateResultion()
public SearchQuery.DateComparator getType()
SearchQuery.DateComparator.BEFORE
, SearchQuery.DateComparator.AFTER
or
SearchQuery.DateComparator.ON
public int hashCode()
hashCode
in class Object
Object.hashCode()
public boolean equals(Object obj)
equals
in class Object
Object.equals(java.lang.Object)
Copyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.