All Downloads are FREE. Search and download functionalities are using the official Maven repository.

META-INF.resources.process_summary.process_summary_dates.jspf Maven / Gradle / Ivy

There is a newer version: 5.0.96
Show newest version
<%--
/**
 * SPDX-FileCopyrightText: (c) 2000 Liferay, Inc. https://liferay.com
 * SPDX-License-Identifier: LGPL-2.1-or-later OR LicenseRef-Liferay-DXP-EULA-2.0.0-2023-06
 */
--%>

<%
String range = MapUtil.getString(parameterMap, "range");
%>

<% String last = MapUtil.getString(parameterMap, "last"); String languageKey = "x-hours"; if (Integer.valueOf(last, 10) == 168) { last = "7"; languageKey = "x-days"; } %>
<%= StringPool.SPACE + LanguageUtil.format(request, languageKey, last, false) %>
<% Format displayDateTimeFormat = FastDateFormatFactoryUtil.getDateTime(FastDateFormatConstants.FULL, FastDateFormatConstants.SHORT, locale, timeZone); DateRange dateRange = ExportImportDateUtil.getDateRange(exportImportConfigurationId); String startDateString = displayDateTimeFormat.format(dateRange.getStartDate()); %>
:
<%= startDateString + StringPool.SPACE + LanguageUtil.get(request, "and") %>
<%= displayDateTimeFormat.format(dateRange.getEndDate()) %>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy