@Test public void testSetReferenceEvent() { InternationalString result = calendarEra1.getReferenceEvent(); ((DefaultCalendarEra)calendarEra1).setReferenceEvent(new SimpleInternationalString("new Era description")); assertFalse(calendarEra1.getReferenceEvent().equals(result)); }
public void setReferenceEvent(InternationalString referenceEvent) { this.referenceEvent = referenceEvent; }
DefaultCalendarEra implements CalendarEra { public void setReferenceEvent(InternationalString referenceEvent) { this.referenceEvent = referenceEvent; } }
DefaultCalendarEra implements CalendarEra { public void setReferenceEvent(InternationalString referenceEvent) { this.referenceEvent = referenceEvent; } DefaultCalendarEra(InternationalString name, InternationalString referenceEvent, CalendarDate referenceDate, JulianDate julianReference, Period epochOfUse); }
DefaultCalendarEra implements CalendarEra { public void setReferenceEvent(InternationalString referenceEvent) { this.referenceEvent = referenceEvent; } DefaultCalendarEra(InternationalString name, InternationalString referenceEvent, CalendarDate referenceDate, JulianDate julianReference, Period epochOfUse); InternationalString getName(); InternationalString getReferenceEvent(); CalendarDate getReferenceDate(); JulianDate getJulianReference(); Period getEpochOfUse(); void setName(InternationalString name); void setReferenceEvent(InternationalString referenceEvent); void setReferenceDate(CalendarDate referenceDate); void setJulianReference(JulianDate julianReference); void setEpochOfUse(Period epochOfUse); Collection<Calendar> getDatingSystem(); @Override boolean equals(final Object object); @Override int hashCode(); @Override String toString(); }
DefaultCalendarEra implements CalendarEra { public void setReferenceEvent(InternationalString referenceEvent) { this.referenceEvent = referenceEvent; } DefaultCalendarEra(InternationalString name, InternationalString referenceEvent, CalendarDate referenceDate, JulianDate julianReference, Period epochOfUse); InternationalString getName(); InternationalString getReferenceEvent(); CalendarDate getReferenceDate(); JulianDate getJulianReference(); Period getEpochOfUse(); void setName(InternationalString name); void setReferenceEvent(InternationalString referenceEvent); void setReferenceDate(CalendarDate referenceDate); void setJulianReference(JulianDate julianReference); void setEpochOfUse(Period epochOfUse); Collection<Calendar> getDatingSystem(); @Override boolean equals(final Object object); @Override int hashCode(); @Override String toString();  }