@Test public void testSetReferenceDate() { CalendarDate result = calendarEra1.getReferenceDate(); int[] date = {1950,6,10}; ((DefaultCalendarEra)calendarEra1).setReferenceDate(new DefaultCalendarDate(null, null, null, date)); assertFalse(calendarEra1.getReferenceDate().equals(result)); }
public void setReferenceDate(CalendarDate referenceDate) { this.referenceDate = referenceDate; }
DefaultCalendarEra implements CalendarEra { public void setReferenceDate(CalendarDate referenceDate) { this.referenceDate = referenceDate; } }
DefaultCalendarEra implements CalendarEra { public void setReferenceDate(CalendarDate referenceDate) { this.referenceDate = referenceDate; } DefaultCalendarEra(InternationalString name, InternationalString referenceEvent, CalendarDate referenceDate, JulianDate julianReference, Period epochOfUse); }
DefaultCalendarEra implements CalendarEra { public void setReferenceDate(CalendarDate referenceDate) { this.referenceDate = referenceDate; } 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 setReferenceDate(CalendarDate referenceDate) { this.referenceDate = referenceDate; } 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();  }