@Test public void testAnyOther() { TemporalPosition result = position1.anyOther(); assertEquals(position2.anyOther(), result); }
public TemporalPosition anyOther() { return (this.position instanceof TemporalPosition) ? (TemporalPosition) position : null; }
DefaultPosition implements Position { public TemporalPosition anyOther() { return (this.position instanceof TemporalPosition) ? (TemporalPosition) position : null; } }
DefaultPosition implements Position { public TemporalPosition anyOther() { return (this.position instanceof TemporalPosition) ? (TemporalPosition) position : null; } DefaultPosition(final Date date);  DefaultPosition(final InternationalString datetime);  DefaultPosition(final TemporalPosition anyOther); }
DefaultPosition implements Position { public TemporalPosition anyOther() { return (this.position instanceof TemporalPosition) ? (TemporalPosition) position : null; } DefaultPosition(final Date date);  DefaultPosition(final InternationalString datetime);  DefaultPosition(final TemporalPosition anyOther); TemporalPosition anyOther(); Date getDate(); Time getTime(); InternationalString getDateTime(); @Override boolean equals(final Object object); @Override int hashCode(); @Override String toString(); }
DefaultPosition implements Position { public TemporalPosition anyOther() { return (this.position instanceof TemporalPosition) ? (TemporalPosition) position : null; } DefaultPosition(final Date date);  DefaultPosition(final InternationalString datetime);  DefaultPosition(final TemporalPosition anyOther); TemporalPosition anyOther(); Date getDate(); Time getTime(); InternationalString getDateTime(); @Override boolean equals(final Object object); @Override int hashCode(); @Override String toString();  }