Class SolrConfigurableDateRangeStrategy
java.lang.Object
de.hybris.platform.travelservices.search.strategies.impl.SolrConfigurableDateRangeStrategy
- All Implemented Interfaces:
SolrDateRangeStrategy
The Configurable Solr Date range strategy. The input date will be converted to Solr specific format. Based on the
configurable date range, the start and end dates will be returned in solr format
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected DategetDateForRange(Date date, int range) protected DategetDateForTime(Date date, int hour, int min, int sec) protected StringgetSolrFormattedDate(Date date) The input date will be converted to solr specific format.voidsetDateRange(String dateRange)
-
Constructor Details
-
SolrConfigurableDateRangeStrategy
public SolrConfigurableDateRangeStrategy()
-
-
Method Details
-
getDateRange
-
setDateRange
-
getSolrFormattedDate
Description copied from interface:SolrDateRangeStrategyThe input date will be converted to solr specific format.- Specified by:
getSolrFormattedDatein interfaceSolrDateRangeStrategy- Parameters:
date- the date to be formatted
-
getDateForTime
-
getDateForRange
-