@Test public void testToString() { String result = calendarDate1.toString(); assertFalse(calendarDate2.toString().equals(result)); }
@Override public String toString() { StringBuilder s = new StringBuilder("CalendarDate:").append('\n'); if (calendarEraName != null) { s.append("calendarEraName:").append(calendarEraName).append('\n'); } if (calendarDate != null) { s.append("calendarDate:").append(Arrays.toString(calendarDate)).append('\n'); } return s.toString(); }
DefaultCalendarDate extends DefaultTemporalPosition implements CalendarDate { @Override public String toString() { StringBuilder s = new StringBuilder("CalendarDate:").append('\n'); if (calendarEraName != null) { s.append("calendarEraName:").append(calendarEraName).append('\n'); } if (calendarDate != null) { s.append("calendarDate:").append(Arrays.toString(calendarDate)).append('\n'); } return s.toString(); } }
DefaultCalendarDate extends DefaultTemporalPosition implements CalendarDate { @Override public String toString() { StringBuilder s = new StringBuilder("CalendarDate:").append('\n'); if (calendarEraName != null) { s.append("calendarEraName:").append(calendarEraName).append('\n'); } if (calendarDate != null) { s.append("calendarDate:").append(Arrays.toString(calendarDate)).append('\n'); } return s.toString(); } DefaultCalendarDate(
            TemporalReferenceSystem frame,
            IndeterminateValue indeterminatePosition,
            InternationalString calendarEraName,
            int[] calendarDate); }
DefaultCalendarDate extends DefaultTemporalPosition implements CalendarDate { @Override public String toString() { StringBuilder s = new StringBuilder("CalendarDate:").append('\n'); if (calendarEraName != null) { s.append("calendarEraName:").append(calendarEraName).append('\n'); } if (calendarDate != null) { s.append("calendarDate:").append(Arrays.toString(calendarDate)).append('\n'); } return s.toString(); } DefaultCalendarDate(
            TemporalReferenceSystem frame,
            IndeterminateValue indeterminatePosition,
            InternationalString calendarEraName,
            int[] calendarDate); InternationalString getCalendarEraName(); int[] getCalendarDate(); void setCalendarEraName(InternationalString calendarEraName); void setCalendarDate(int[] calendarDate); @Override boolean equals(final Object object); @Override int hashCode(); @Override String toString(); }
DefaultCalendarDate extends DefaultTemporalPosition implements CalendarDate { @Override public String toString() { StringBuilder s = new StringBuilder("CalendarDate:").append('\n'); if (calendarEraName != null) { s.append("calendarEraName:").append(calendarEraName).append('\n'); } if (calendarDate != null) { s.append("calendarDate:").append(Arrays.toString(calendarDate)).append('\n'); } return s.toString(); } DefaultCalendarDate(
            TemporalReferenceSystem frame,
            IndeterminateValue indeterminatePosition,
            InternationalString calendarEraName,
            int[] calendarDate); InternationalString getCalendarEraName(); int[] getCalendarDate(); void setCalendarEraName(InternationalString calendarEraName); void setCalendarDate(int[] calendarDate); @Override boolean equals(final Object object); @Override int hashCode(); @Override String toString();  }