public class CalUtil
extends java.lang.Object
| Constructor and Description |
|---|
CalUtil() |
| Modifier and Type | Method and Description |
|---|---|
static java.util.Date |
getDaylightSavingTimeOffsetDate(com.liferay.portlet.calendar.model.CalEvent event,
java.util.TimeZone userTimeZone,
java.util.Calendar cal,
java.util.Date date) |
static java.lang.String |
getEmailEventReminderBody(javax.portlet.PortletPreferences preferences) |
static boolean |
getEmailEventReminderEnabled(javax.portlet.PortletPreferences preferences) |
static java.lang.String |
getEmailEventReminderSubject(javax.portlet.PortletPreferences preferences) |
static java.lang.String |
getEmailFromAddress(javax.portlet.PortletPreferences preferences,
long companyId) |
static java.lang.String |
getEmailFromName(javax.portlet.PortletPreferences preferences,
long companyId) |
static java.util.Date |
getEndTime(com.liferay.portlet.calendar.model.CalEvent event) |
static boolean |
isAllDay(com.liferay.portlet.calendar.model.CalEvent event,
java.util.TimeZone timeZone,
java.util.Locale locale) |
static java.lang.String |
toString(java.util.Calendar cal,
java.lang.String[] types) |
public static java.util.Date getDaylightSavingTimeOffsetDate(com.liferay.portlet.calendar.model.CalEvent event,
java.util.TimeZone userTimeZone,
java.util.Calendar cal,
java.util.Date date)
public static java.lang.String getEmailEventReminderBody(javax.portlet.PortletPreferences preferences)
public static boolean getEmailEventReminderEnabled(javax.portlet.PortletPreferences preferences)
public static java.lang.String getEmailEventReminderSubject(javax.portlet.PortletPreferences preferences)
public static java.lang.String getEmailFromAddress(javax.portlet.PortletPreferences preferences,
long companyId)
throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemExceptionpublic static java.lang.String getEmailFromName(javax.portlet.PortletPreferences preferences,
long companyId)
throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemExceptionpublic static java.util.Date getEndTime(com.liferay.portlet.calendar.model.CalEvent event)
public static boolean isAllDay(com.liferay.portlet.calendar.model.CalEvent event,
java.util.TimeZone timeZone,
java.util.Locale locale)
public static java.lang.String toString(java.util.Calendar cal,
java.lang.String[] types)