ArgumentChecker.inOrderOrEqual(fromDateInclusive, toDateInclusive, "fromDateInclusive", "toDateInclusive");
final ObjectId objectId = objectKey.getObjectId();
LocalDateDoubleTimeSeries existingSeries = _storePoints.get(objectId);
if (existingSeries == null) {
return objectId.atLatestVersion();
}
LocalDateDoubleTimeSeriesBuilder bld = existingSeries.toBuilder();
for (LocalDateDoubleEntryIterator it = bld.iterator(); it.hasNext(); ) {
LocalDate date = it.nextTime();
if (date.isBefore(fromDateInclusive) == false && date.isAfter(toDateInclusive) == false) {