class FuzzyDateComparator implements Comparator<Date> {

	@Override
	public int compare(Date o1, Date o2) {
		int compareValue = 0;
		long o1Time = o1.getTime();
		long o2Time = o2.getTime();
		long difference = o1Time - o2Time;
		if(Math.abs(difference) > tolerance){
			if(difference > 0){
				compareValue = 1;
			}
			else{
				compareValue = -1;
			}
		}
		return compareValue;
	}

	public  FuzzyDateComparator(long tolerance);
	public  FuzzyDateComparator();

}