@Internal public abstract class AbstractDateSearchInputHelper extends Object implements DateSearcherInputHelper
Modifier and Type | Class and Description |
---|---|
protected static class |
AbstractDateSearchInputHelper.ParseDateResult |
DateSearcherInputHelper.ConvertClauseResult
Modifier and Type | Field and Description |
---|---|
protected DateSearcherConfig |
config |
protected static DateSearcherInputHelper.ConvertClauseResult |
CONVERT_CLAUSE_BAD_RESULT |
protected JqlOperandResolver |
operandResolver |
Constructor and Description |
---|
AbstractDateSearchInputHelper(DateSearcherConfig config,
JqlOperandResolver operandResolver) |
Modifier and Type | Method and Description |
---|---|
DateSearcherInputHelper.ConvertClauseResult |
convertClause(Clause clause,
com.atlassian.crowd.embedded.api.User user,
boolean allowTimeComponent)
Take the passed clause and try and get the equivalent navigator parameters.
|
protected static final DateSearcherInputHelper.ConvertClauseResult CONVERT_CLAUSE_BAD_RESULT
protected final DateSearcherConfig config
protected final JqlOperandResolver operandResolver
public AbstractDateSearchInputHelper(DateSearcherConfig config, JqlOperandResolver operandResolver)
public DateSearcherInputHelper.ConvertClauseResult convertClause(Clause clause, com.atlassian.crowd.embedded.api.User user, boolean allowTimeComponent)
DateSearcherInputHelper
convertClause
in interface DateSearcherInputHelper
clause
- the clause to convert.user
- the user trying to convert the clause.allowTimeComponent
- if true, date values which aren't midnight dates will be returned as midnight
dates (thereby losing precision)Copyright © 2002-2015 Atlassian. All Rights Reserved.