@Test public void testToString() { String result = clockTime1.toString(); assertFalse(clockTime2.equals(result)); }
@Override public String toString() { StringBuilder s = new StringBuilder("ClockTime:").append('\n'); if (clockTime != null) { s.append("clockTime:").append(clockTime).append('\n'); } return s.toString(); }
DefaultClockTime extends DefaultTemporalPosition implements ClockTime { @Override public String toString() { StringBuilder s = new StringBuilder("ClockTime:").append('\n'); if (clockTime != null) { s.append("clockTime:").append(clockTime).append('\n'); } return s.toString(); } }
DefaultClockTime extends DefaultTemporalPosition implements ClockTime { @Override public String toString() { StringBuilder s = new StringBuilder("ClockTime:").append('\n'); if (clockTime != null) { s.append("clockTime:").append(clockTime).append('\n'); } return s.toString(); } DefaultClockTime(TemporalReferenceSystem frame, IndeterminateValue indeterminatePosition, Number[] clockTime); }
DefaultClockTime extends DefaultTemporalPosition implements ClockTime { @Override public String toString() { StringBuilder s = new StringBuilder("ClockTime:").append('\n'); if (clockTime != null) { s.append("clockTime:").append(clockTime).append('\n'); } return s.toString(); } DefaultClockTime(TemporalReferenceSystem frame, IndeterminateValue indeterminatePosition, Number[] clockTime); Number[] getClockTime(); void setClockTime(Number[] clockTime); @Override boolean equals(final Object object); @Override int hashCode(); @Override String toString(); }
DefaultClockTime extends DefaultTemporalPosition implements ClockTime { @Override public String toString() { StringBuilder s = new StringBuilder("ClockTime:").append('\n'); if (clockTime != null) { s.append("clockTime:").append(clockTime).append('\n'); } return s.toString(); } DefaultClockTime(TemporalReferenceSystem frame, IndeterminateValue indeterminatePosition, Number[] clockTime); Number[] getClockTime(); void setClockTime(Number[] clockTime); @Override boolean equals(final Object object); @Override int hashCode(); @Override String toString();  }