function removeSamples(property, startIndex, numberToRemove) {
  const packedLength = property._packedLength;
  property._times.splice(startIndex, numberToRemove);
  property._values.splice(
    startIndex * packedLength,
    numberToRemove * packedLength,
  );
  property._updateTableLength = true;
  property._definitionChanged.raiseEvent(property);
}
Removes a sample at the given time, if present.

@param {JulianDate} time The sample time.
@returns {boolean} <code>true</code> if a sample at time was removed, <code>false</code> otherwise.