@Test public void testSetCalendarEraName() { InternationalString result = dateAndTime1.getCalendarEraName(); ((DefaultDateAndTime) dateAndTime1).setCalendarEraName(new SimpleInternationalString("new Era")); assertFalse(dateAndTime1.getCalendarEraName().equals(result)); }
public void setCalendarEraName(InternationalString calendarEraName) { this.calendarEraName = calendarEraName; }
DefaultDateAndTime extends DefaultTemporalPosition implements DateAndTime { public void setCalendarEraName(InternationalString calendarEraName) { this.calendarEraName = calendarEraName; } }
DefaultDateAndTime extends DefaultTemporalPosition implements DateAndTime { public void setCalendarEraName(InternationalString calendarEraName) { this.calendarEraName = calendarEraName; } DefaultDateAndTime(TemporalReferenceSystem frame, IndeterminateValue indeterminatePosition, InternationalString calendarEraName, int[] calendarDate, Number[] clockTime); }
DefaultDateAndTime extends DefaultTemporalPosition implements DateAndTime { public void setCalendarEraName(InternationalString calendarEraName) { this.calendarEraName = calendarEraName; } DefaultDateAndTime(TemporalReferenceSystem frame, IndeterminateValue indeterminatePosition, InternationalString calendarEraName, int[] calendarDate, Number[] clockTime); Number[] getClockTime(); InternationalString getCalendarEraName(); int[] getCalendarDate(); void setCalendarEraName(InternationalString calendarEraName); void setCalendarDate(int[] calendarDate); void setClockTime(Number[] clockTime); @Override boolean equals(final Object object); @Override int hashCode(); @Override String toString(); }
DefaultDateAndTime extends DefaultTemporalPosition implements DateAndTime { public void setCalendarEraName(InternationalString calendarEraName) { this.calendarEraName = calendarEraName; } DefaultDateAndTime(TemporalReferenceSystem frame, IndeterminateValue indeterminatePosition, InternationalString calendarEraName, int[] calendarDate, Number[] clockTime); Number[] getClockTime(); InternationalString getCalendarEraName(); int[] getCalendarDate(); void setCalendarEraName(InternationalString calendarEraName); void setCalendarDate(int[] calendarDate); void setClockTime(Number[] clockTime); @Override boolean equals(final Object object); @Override int hashCode(); @Override String toString();  }