@Test public void testCreateDays() { doCreateDaysTest(0); doCreateDaysTest(-3); doCreateDaysTest(15); }
public static Duration createDays(int days) { return createDuration(0, 0, 0, days); }
DurationFactory { public static Duration createDays(int days) { return createDuration(0, 0, 0, days); } }
DurationFactory { public static Duration createDays(int days) { return createDuration(0, 0, 0, days); } DurationFactory(); }
DurationFactory { public static Duration createDays(int days) { return createDuration(0, 0, 0, days); } DurationFactory(); static Duration createDuration(int years, int months, int weeks, int days); static Duration createDays(int days); static Duration createWeeks(int weeks); static Duration createMonths(int months); static Duration createYears(int years); static Duration getDAY(); static Duration getWEEK(); static Duration getMONTH(); static Duration getYEAR(); }
DurationFactory { public static Duration createDays(int days) { return createDuration(0, 0, 0, days); } DurationFactory(); static Duration createDuration(int years, int months, int weeks, int days); static Duration createDays(int days); static Duration createWeeks(int weeks); static Duration createMonths(int months); static Duration createYears(int years); static Duration getDAY(); static Duration getWEEK(); static Duration getMONTH(); static Duration getYEAR(); static final Duration DAY; static final Duration WEEK; static final Duration MONTH; static final Duration YEAR; }