final String period,
final Integer label,
final HttpServletRequest request) {
String dataRangeLabel = null;
HashTagRate tagRateLabel;
final SearchPeriods periodSelected = SearchPeriods
.getPeriodString(period);
if (periodSelected.equals(SearchPeriods.ONEYEAR)) {
tagRateLabel = HashTagRate.getHashTagMonthLabel(Integer
.toString(label));
dataRangeLabel = this.convertHashTagDataRangeLabelMessage(
tagRateLabel, request, new Object[] {});
} else if (periodSelected.equals(SearchPeriods.ALLTIME)) {
dataRangeLabel = String.valueOf(label);
} else if (periodSelected.equals(SearchPeriods.THIRTYDAYS)) {
dataRangeLabel = String.valueOf(label);
} else if (periodSelected.equals(SearchPeriods.TWENTYFOURHOURS)) {
dataRangeLabel = String.valueOf(label);
} else if (periodSelected.equals(SearchPeriods.SEVENDAYS)) {
tagRateLabel = HashTagRate.getHashTagWeekDayLabel(
Integer
.toString(label));
dataRangeLabel = this.convertHashTagDataRangeLabelMessage(tagRateLabel,
request, new Object[] {});