@Test
public void testDateAdaption() {

  final Date d = utcDate(2012, 5, 24, 13, 24, 0);
  final Date expect = utcDate(2012, 5, 24, 0, 0, 0);
  assertEquals(expect, OaiPmhRepository.granulate(Granularity.DAY, d));
}