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

eu.future.earth.gwt.client.date.EventComparator Maven / Gradle / Ivy

There is a newer version: 3.3
Show newest version
package eu.future.earth.gwt.client.date;

import java.util.Comparator;
import java.util.Date;


public class EventComparator implements Comparator> {

	public EventComparator() {
		super();
	}

	public int compare(EventPanel arg0, EventPanel arg1) {
		Date one = arg0.getStart();
		Date two = arg1.getStart();
		if (one != null) {
			return one.compareTo(two);
		}
		return 0;
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy