Liferay 6.0.5

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  Date getEndDate(CalEvent event, TimeZone timeZone)
           
protected  Date getStartDate(CalEvent event, TimeZone timeZone)
           
 
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)

getEndDate

protected Date getEndDate(CalEvent event,
                          TimeZone timeZone)

getStartDate

protected Date getStartDate(CalEvent event,
                            TimeZone timeZone)

Liferay 6.0.5