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

eu.future.earth.gwt.client.date.EventWildComparator 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 EventWildComparator implements Comparator> {

	public EventWildComparator() {
		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