@Test public void testGetDate() { Date now = new Date(); AtomDate adNow = new AtomDate(now); assertEquals(now, adNow.getDate()); Date now2 = adNow.getDate(); now2.setTime(now2.getTime() + 10); assertFalse(now2.equals(adNow.getDate())); }
public Date getDate() { return (Date)value.clone(); }
AtomDate implements Cloneable, Serializable { public Date getDate() { return (Date)value.clone(); } }
AtomDate implements Cloneable, Serializable { public Date getDate() { return (Date)value.clone(); } AtomDate();  AtomDate(String value);  AtomDate(Date value);  AtomDate(Calendar value);  AtomDate(long value); }
AtomDate implements Cloneable, Serializable { public Date getDate() { return (Date)value.clone(); } AtomDate();  AtomDate(String value);  AtomDate(Date value);  AtomDate(Calendar value);  AtomDate(long value); String getValue(); AtomDate setValue(String value); AtomDate setValue(Date date); AtomDate setValue(Calendar calendar); AtomDate setValue(long timestamp); Date getDate(); Calendar getCalendar(); long getTime(); @Override String toString(); @Override int hashCode(); @Override boolean equals(Object obj); @Override Object clone(); static Date parse(String date); static String format(Date date); static AtomDate valueOf(String value); static AtomDate valueOf(Date value); static AtomDate valueOf(Calendar value); static AtomDate valueOf(long value); }
AtomDate implements Cloneable, Serializable { public Date getDate() { return (Date)value.clone(); } AtomDate();  AtomDate(String value);  AtomDate(Date value);  AtomDate(Calendar value);  AtomDate(long value); String getValue(); AtomDate setValue(String value); AtomDate setValue(Date date); AtomDate setValue(Calendar calendar); AtomDate setValue(long timestamp); Date getDate(); Calendar getCalendar(); long getTime(); @Override String toString(); @Override int hashCode(); @Override boolean equals(Object obj); @Override Object clone(); static Date parse(String date); static String format(Date date); static AtomDate valueOf(String value); static AtomDate valueOf(Date value); static AtomDate valueOf(Calendar value); static AtomDate valueOf(long value);  }