@Test
public void testHashCode() {

    long time = System.currentTimeMillis();
    AtomDate ad1 = new AtomDate(time);
    assertTrue(ad1.hashCode() == ad1.hashCode());
    AtomDate ad2 = new AtomDate(time + 10);
    assertFalse(ad1.hashCode() == ad2.hashCode());
}