@Test public void testSetJulianReference() { JulianDate result = calendarEra1.getJulianReference(); ((DefaultCalendarEra)calendarEra1).setJulianReference(new DefaultJulianDate(null, null, 785410)); assertFalse(calendarEra1.getJulianReference().equals(result)); }
public void setJulianReference(JulianDate julianReference) { this.julianReference = julianReference; }
DefaultCalendarEra implements CalendarEra { public void setJulianReference(JulianDate julianReference) { this.julianReference = julianReference; } }
DefaultCalendarEra implements CalendarEra { public void setJulianReference(JulianDate julianReference) { this.julianReference = julianReference; } DefaultCalendarEra(InternationalString name, InternationalString referenceEvent, CalendarDate referenceDate, JulianDate julianReference, Period epochOfUse); }
DefaultCalendarEra implements CalendarEra { public void setJulianReference(JulianDate julianReference) { this.julianReference = julianReference; } 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 setJulianReference(JulianDate julianReference) { this.julianReference = julianReference; } 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();  }