Liferay 6.1.2-ce-ga3

com.liferay.portlet.calendar.util
Class CalUtil

java.lang.Object
  extended by com.liferay.portlet.calendar.util.CalUtil

public class CalUtil
extends Object


Constructor Summary
CalUtil()
           
 
Method Summary
static Date getDaylightSavingTimeOffsetDate(CalEvent event, TimeZone userTimeZone, Calendar cal, Date date)
           
static String getEmailEventReminderBody(PortletPreferences preferences)
           
static boolean getEmailEventReminderEnabled(PortletPreferences preferences)
           
static String getEmailEventReminderSubject(PortletPreferences preferences)
           
static String getEmailFromAddress(PortletPreferences preferences, long companyId)
           
static String getEmailFromName(PortletPreferences preferences, long companyId)
           
static Date getEndTime(CalEvent event)
           
static boolean isAllDay(CalEvent event, TimeZone timeZone, Locale locale)
           
static String toString(Calendar cal, String[] types)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CalUtil

public CalUtil()
Method Detail

getDaylightSavingTimeOffsetDate

public static Date getDaylightSavingTimeOffsetDate(CalEvent event,
                                                   TimeZone userTimeZone,
                                                   Calendar cal,
                                                   Date date)

getEmailEventReminderBody

public static String getEmailEventReminderBody(PortletPreferences preferences)

getEmailEventReminderEnabled

public static boolean getEmailEventReminderEnabled(PortletPreferences preferences)

getEmailEventReminderSubject

public static String getEmailEventReminderSubject(PortletPreferences preferences)

getEmailFromAddress

public static String getEmailFromAddress(PortletPreferences preferences,
                                         long companyId)
                                  throws SystemException
Throws:
SystemException

getEmailFromName

public static String getEmailFromName(PortletPreferences preferences,
                                      long companyId)
                               throws SystemException
Throws:
SystemException

getEndTime

public static Date getEndTime(CalEvent event)

isAllDay

public static boolean isAllDay(CalEvent event,
                               TimeZone timeZone,
                               Locale locale)

toString

public static String toString(Calendar cal,
                              String[] types)

Liferay 6.1.2-ce-ga3