@Test public void test60m() { Duration upto = DefaultDuration.of(60, TimeUnit.MINUTES); assertEquals(Lists.newArrayList( DefaultDuration.of(12, TimeUnit.MINUTES), DefaultDuration.of(1, TimeUnit.HOURS)), Lists.newArrayList(Durations.durationIterator(upto))); }
public static Iterable<Duration> durationIterator(Duration upto) { return filter(durations, atMost(upto)); }
Durations { public static Iterable<Duration> durationIterator(Duration upto) { return filter(durations, atMost(upto)); } }
Durations { public static Iterable<Duration> durationIterator(Duration upto) { return filter(durations, atMost(upto)); } private  Durations(); }
Durations { public static Iterable<Duration> durationIterator(Duration upto) { return filter(durations, atMost(upto)); } private  Durations(); static Iterable<Duration> getDefaultDurations(); static Iterable<Duration> durationIterator(Duration upto); }
Durations { public static Iterable<Duration> durationIterator(Duration upto) { return filter(durations, atMost(upto)); } private  Durations(); static Iterable<Duration> getDefaultDurations(); static Iterable<Duration> durationIterator(Duration upto);  }