return o1.getRid().compareTo(o2.getRid());
}
});
final DatatypeConverterImpl dateParser = DatatypeConverterImpl.getInstance();
final Date date1 = dateParser.parseDateTime("1977-01-17T01:05:40Z").getTime();
final Date date2 = dateParser.parseDateTime("2011-07-29T23:49:40Z").getTime();
FilterFactory ff = CommonFactoryFinder.getFilterFactory(null);
// This is in consistent as the FIRST entry cannot have a previous1
ResourceIdImpl resourceId = new ResourceIdImpl("rid1", "abc", new Version(FIRST));