InventoryReport r1 = (InventoryReport) o1; InventoryReport r2 = (InventoryReport) o2; long diff = r1.theReportDate - r2.theReportDate;
long t1_end_time = TaskUtils.getEndTime((Task)o1); long t2_end_time = TaskUtils.getEndTime((Task)o2); long diff = t1_end_time - t2_end_time;
	  public int compare(Object o1, Object o2) {	    InventoryReport r1 = (InventoryReport) o1;	    InventoryReport r2 = (InventoryReport) o2;	    long diff = r1.theReportDate - r2.theReportDate;	    if (diff < 0L) return -1;	    if (diff > 0L) return  1;	    return 0;	  }