return get(results, wbRequest, null);
}
public static ArrayList<ResultsPartition> get(CaptureSearchResults results,
WaybackRequest wbRequest, ResultsPartitioner defaultPartitioner) {
Timestamp startTS = Timestamp.parseBefore(results.getFilter(
WaybackRequest.REQUEST_START_DATE));
Timestamp endTS = Timestamp.parseAfter(results.getFilter(
WaybackRequest.REQUEST_END_DATE));
String rsd = startTS.getDateStr();
String red = endTS.getDateStr();
Date startDate = startTS.getDate();
Date endDate = endTS.getDate();
long msSpanned = endDate.getTime() - startDate.getTime();
int secsSpanned = (int) Math.ceil(msSpanned / 1000);
ResultsPartitioner partitioner = defaultPartitioner;