@Test public void testClone() { AtomDate ad = new AtomDate(); AtomDate adClone = (AtomDate)ad.clone(); assertEquals(ad, adClone); assertNotSame(ad, adClone); }
@Override public Object clone() { try { return super.clone(); } catch (CloneNotSupportedException e) { throw new AssertionError(e); } }
AtomDate implements Cloneable, Serializable { @Override public Object clone() { try { return super.clone(); } catch (CloneNotSupportedException e) { throw new AssertionError(e); } } }
AtomDate implements Cloneable, Serializable { @Override public Object clone() { try { return super.clone(); } catch (CloneNotSupportedException e) { throw new AssertionError(e); } } AtomDate();  AtomDate(String value);  AtomDate(Date value);  AtomDate(Calendar value);  AtomDate(long value); }
AtomDate implements Cloneable, Serializable { @Override public Object clone() { try { return super.clone(); } catch (CloneNotSupportedException e) { throw new AssertionError(e); } } 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 { @Override public Object clone() { try { return super.clone(); } catch (CloneNotSupportedException e) { throw new AssertionError(e); } } 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);  }