@Test public void testToString() { String result = temporalCoordinateSystem1.toString(); assertFalse(temporalCoordinateSystem2.toString().equals(result)); }
@Override public String toString() { StringBuilder s = new StringBuilder("TemporalCoordinateSystem:").append('\n'); if (interval != null) { s.append("interval:").append(interval).append('\n'); } if (origin != null) { s.append("origin:").append(origin).append('\n'); } return s.toString(); }
DefaultTemporalCoordinateSystem extends DefaultTemporalReferenceSystem implements TemporalCoordinateSystem { @Override public String toString() { StringBuilder s = new StringBuilder("TemporalCoordinateSystem:").append('\n'); if (interval != null) { s.append("interval:").append(interval).append('\n'); } if (origin != null) { s.append("origin:").append(origin).append('\n'); } return s.toString(); } }
DefaultTemporalCoordinateSystem extends DefaultTemporalReferenceSystem implements TemporalCoordinateSystem { @Override public String toString() { StringBuilder s = new StringBuilder("TemporalCoordinateSystem:").append('\n'); if (interval != null) { s.append("interval:").append(interval).append('\n'); } if (origin != null) { s.append("origin:").append(origin).append('\n'); } return s.toString(); } DefaultTemporalCoordinateSystem(ReferenceIdentifier name, Extent domainOfValidity, Date origin, InternationalString interval); }
DefaultTemporalCoordinateSystem extends DefaultTemporalReferenceSystem implements TemporalCoordinateSystem { @Override public String toString() { StringBuilder s = new StringBuilder("TemporalCoordinateSystem:").append('\n'); if (interval != null) { s.append("interval:").append(interval).append('\n'); } if (origin != null) { s.append("origin:").append(origin).append('\n'); } return s.toString(); } DefaultTemporalCoordinateSystem(ReferenceIdentifier name, Extent domainOfValidity, Date origin, InternationalString interval); void setOrigin(Date origin); void setInterval(InternationalString interval); Date getOrigin(); InternationalString getInterval(); Date transformCoord(TemporalCoordinate c_value); TemporalCoordinate transformDateTime(Date dateTime); @Override boolean equals(final Object object); @Override int hashCode(); @Override String toString(); }
DefaultTemporalCoordinateSystem extends DefaultTemporalReferenceSystem implements TemporalCoordinateSystem { @Override public String toString() { StringBuilder s = new StringBuilder("TemporalCoordinateSystem:").append('\n'); if (interval != null) { s.append("interval:").append(interval).append('\n'); } if (origin != null) { s.append("origin:").append(origin).append('\n'); } return s.toString(); } DefaultTemporalCoordinateSystem(ReferenceIdentifier name, Extent domainOfValidity, Date origin, InternationalString interval); void setOrigin(Date origin); void setInterval(InternationalString interval); Date getOrigin(); InternationalString getInterval(); Date transformCoord(TemporalCoordinate c_value); TemporalCoordinate transformDateTime(Date dateTime); @Override boolean equals(final Object object); @Override int hashCode(); @Override String toString();  }