@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,
ApplicationUser 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, ApplicationUser user, boolean allowTimeComponent)
DateSearcherInputHelperNote: this also performs a validity check on the structure of the clause to determine if it fits for the Navigator. Therefore, it is not required to check this before the call is made.
convertClause in interface DateSearcherInputHelperclause - 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-2017 Atlassian. All Rights Reserved.