@Test public void testGetTime() { Time result = position1.getTime(); assertEquals(position2.getTime(), result); }
public Time getTime() { return (this.position instanceof Time) ? (Time) position : null; }
DefaultPosition implements Position { public Time getTime() { return (this.position instanceof Time) ? (Time) position : null; } }
DefaultPosition implements Position { public Time getTime() { return (this.position instanceof Time) ? (Time) position : null; } DefaultPosition(final Date date);  DefaultPosition(final InternationalString datetime);  DefaultPosition(final TemporalPosition anyOther); }
DefaultPosition implements Position { public Time getTime() { return (this.position instanceof Time) ? (Time) 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 Time getTime() { return (this.position instanceof Time) ? (Time) 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();  }