@Test public void testGetDesignator() { InternationalString result = periodDuration1.getDesignator(); assertEquals(periodDuration2.getDesignator(), result); }
public InternationalString getDesignator() { return DESIGNATOR; }
DefaultPeriodDuration extends DefaultDuration implements PeriodDuration { public InternationalString getDesignator() { return DESIGNATOR; } }
DefaultPeriodDuration extends DefaultDuration implements PeriodDuration { public InternationalString getDesignator() { return DESIGNATOR; } DefaultPeriodDuration(InternationalString years, InternationalString months, InternationalString week, InternationalString days,
            InternationalString hours, InternationalString minutes, InternationalString seconds);  DefaultPeriodDuration(long durationInMilliSeconds); }
DefaultPeriodDuration extends DefaultDuration implements PeriodDuration { public InternationalString getDesignator() { return DESIGNATOR; } DefaultPeriodDuration(InternationalString years, InternationalString months, InternationalString week, InternationalString days,
            InternationalString hours, InternationalString minutes, InternationalString seconds);  DefaultPeriodDuration(long durationInMilliSeconds); InternationalString getDesignator(); InternationalString getYears(); InternationalString getMonths(); InternationalString getDays(); InternationalString getTimeIndicator(); InternationalString getHours(); InternationalString getMinutes(); InternationalString getSeconds(); void setYears(InternationalString years); void setMonths(InternationalString months); void setDays(InternationalString days); void setHours(InternationalString hours); void setMinutes(InternationalString minutes); void setSeconds(InternationalString seconds); InternationalString getWeek(); void setWeek(InternationalString week); long getTimeInMillis(); @Override boolean equals(final Object object); @Override int hashCode(); @Override /** * Returns a duration value String in format 8601. the pattern is PnYnMnDTnHnMnS. */ String toString(); }
DefaultPeriodDuration extends DefaultDuration implements PeriodDuration { public InternationalString getDesignator() { return DESIGNATOR; } DefaultPeriodDuration(InternationalString years, InternationalString months, InternationalString week, InternationalString days,
            InternationalString hours, InternationalString minutes, InternationalString seconds);  DefaultPeriodDuration(long durationInMilliSeconds); InternationalString getDesignator(); InternationalString getYears(); InternationalString getMonths(); InternationalString getDays(); InternationalString getTimeIndicator(); InternationalString getHours(); InternationalString getMinutes(); InternationalString getSeconds(); void setYears(InternationalString years); void setMonths(InternationalString months); void setDays(InternationalString days); void setHours(InternationalString hours); void setMinutes(InternationalString minutes); void setSeconds(InternationalString seconds); InternationalString getWeek(); void setWeek(InternationalString week); long getTimeInMillis(); @Override boolean equals(final Object object); @Override int hashCode(); @Override /** * Returns a duration value String in format 8601. the pattern is PnYnMnDTnHnMnS. */ String toString();  }