Liferay 6.2-ce-ga5

com.liferay.portlet.calendar.util.comparator
Class EventTimeComparator

java.lang.Object
  extended by com.liferay.portlet.calendar.util.comparator.EventTimeComparator
All Implemented Interfaces:
Comparator<CalEvent>

public class EventTimeComparator
extends Object
implements Comparator<CalEvent>


Constructor Summary
EventTimeComparator(TimeZone timeZone, Locale locale)
           
 
Method Summary
 int compare(CalEvent event1, CalEvent event2)
           
protected  int compareTitle(CalEvent event1, CalEvent event2)
           
protected  Long getDuration(CalEvent event)
           
protected  Date getStartDate(CalEvent event, TimeZone timeZone, boolean repeating)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Comparator
equals
 

Constructor Detail

EventTimeComparator

public EventTimeComparator(TimeZone timeZone,
                           Locale locale)
Method Detail

compare

public int compare(CalEvent event1,
                   CalEvent event2)
Specified by:
compare in interface Comparator<CalEvent>

compareTitle

protected int compareTitle(CalEvent event1,
                           CalEvent event2)

getDuration

protected Long getDuration(CalEvent event)

getStartDate

protected Date getStartDate(CalEvent event,
                            TimeZone timeZone,
                            boolean repeating)

Liferay 6.2-ce-ga5