@Test public void testSetEpochOfUse() { Period result = calendarEra1.getEpochOfUse(); cal.set(1900, 10, 10); ((DefaultCalendarEra)calendarEra1).setEpochOfUse(new DefaultPeriod(new DefaultInstant(new DefaultPosition(cal.getTime())), new DefaultInstant(new DefaultPosition(new Date())))); assertFalse(calendarEra1.getEpochOfUse().equals(result)); }
public void setEpochOfUse(Period epochOfUse) { this.epochOfUse = epochOfUse; }
DefaultCalendarEra implements CalendarEra { public void setEpochOfUse(Period epochOfUse) { this.epochOfUse = epochOfUse; } }
DefaultCalendarEra implements CalendarEra { public void setEpochOfUse(Period epochOfUse) { this.epochOfUse = epochOfUse; } DefaultCalendarEra(InternationalString name, InternationalString referenceEvent, CalendarDate referenceDate, JulianDate julianReference, Period epochOfUse); }
DefaultCalendarEra implements CalendarEra { public void setEpochOfUse(Period epochOfUse) { this.epochOfUse = epochOfUse; } 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 setEpochOfUse(Period epochOfUse) { this.epochOfUse = epochOfUse; } 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();  }