public abstract class

LocalDateQuickSearchHandler

extends SingleWordQuickSearchHandler
java.lang.Object
   ↳ com.atlassian.jira.issue.search.quicksearch.SingleWordQuickSearchHandler
     ↳ com.atlassian.jira.issue.search.quicksearch.LocalDateQuickSearchHandler
Known Direct Subclasses

Class Overview

A date searcher that can handle QuickSearches of the type field:<param> where param is one of:

  • today
  • yesterday
  • tomorrow
  • Relative date. eg: '-1w', '2d'
  • 2 Relative dates. eg: '-1w,4h', '-7d,7d'
Note that relative dates are separated by a comma, and they cannot contain any spaces. Therefore only one time slice is allowed.

Summary

Protected Constructors
LocalDateQuickSearchHandler(TimeZoneManager timeZoneManager)
Protected Methods
abstract String getPrefix()
abstract String getSearchParamName()
Map handleWord(String word, QuickSearchResult searchResult)
Hanldle a single word, and return a map of parameters
[Expand]
Inherited Methods
From class com.atlassian.jira.issue.search.quicksearch.SingleWordQuickSearchHandler
From class java.lang.Object
From interface com.atlassian.jira.issue.search.quicksearch.QuickSearchHandler

Protected Constructors

protected LocalDateQuickSearchHandler (TimeZoneManager timeZoneManager)

Protected Methods

protected abstract String getPrefix ()

protected abstract String getSearchParamName ()

protected Map handleWord (String word, QuickSearchResult searchResult)

Hanldle a single word, and return a map of parameters

Parameters
word A single word - guaranteed to not be null
searchResult The existing search result
Returns
  • A Map of parameters that can be used as a URL.