@Override
	public int compareTo(ProcessingIntermediumKey p) {
		// TODO Auto-generated method stub
		if (year != p.year)
			return year > p.year ? 1 : -1;
		if (month != p.month)
			return month > p.month ? 1 : -1;
		if (day != p.day)
			return day > p.day ? -1 : 1;
		int cmp = airport.compareTo(p.airport);
		if (cmp != 0)
			return cmp;
		if (time != p.time)
			return time > p.time ? -1 : 1;
		return 0;
	}