@Test public void getDefaultSubDuration() throws Exception { DateTimePeriod period0 = DateTimePeriod.createYear(2009, DateTimeZone.UTC); Assert.assertEquals(DateTimeDuration.MONTH, period0.getDefaultSubDuration()); }
@Override public DateTimeDuration getDefaultSubDuration() { return DateTimeDuration.MONTH; }
DateTimeYear extends DateTimePeriod { @Override public DateTimeDuration getDefaultSubDuration() { return DateTimeDuration.MONTH; } }
DateTimeYear extends DateTimePeriod { @Override public DateTimeDuration getDefaultSubDuration() { return DateTimeDuration.MONTH; } protected  DateTimeYear(DateTime start, DateTime end); }
DateTimeYear extends DateTimePeriod { @Override public DateTimeDuration getDefaultSubDuration() { return DateTimeDuration.MONTH; } protected  DateTimeYear(DateTime start, DateTime end); @Override DateTimePeriod getNext(); @Override DateTimePeriod getPrevious(); @Override DateTimeDuration getDefaultSubDuration(); }
DateTimeYear extends DateTimePeriod { @Override public DateTimeDuration getDefaultSubDuration() { return DateTimeDuration.MONTH; } protected  DateTimeYear(DateTime start, DateTime end); @Override DateTimePeriod getNext(); @Override DateTimePeriod getPrevious(); @Override DateTimeDuration getDefaultSubDuration();  }