public void convertDays() {
Duration duration = Duration.days(10L);
assertThat(duration.inDays(), is(10L));
assertThat(duration.inHours(), is(duration.inDays() * HOURS_IN_A_DAY));
assertThat(duration.inMinutes(), is(duration.inHours() * MINUTES_IN_AN_HOUR));
assertThat(duration.inSeconds(), is(duration.inMinutes() * SECONDS_IN_A_MINUTE));
assertThat(duration.inMillis(), is(duration.inSeconds() * MILLIS_IN_A_SECOND));
}
@Test
public void canAddDurations() {