public Collection<String> getPathsForInterval(ReadableInterval interval) { final List<String> paths = new ArrayList<String>(); granularity.stepThroughInterval( interval, new Granularity.Callback<RuntimeException>() { public void step(ReadableInterval stepInterval) throws RuntimeException { paths.add(getPathForDateTime(stepInterval.getStart())); } }); return paths; }