updateBoundingSteps method

  1. @override
DateTimeExtents updateBoundingSteps(
  1. DateTimeExtents timeExtent
)

Get new bounding extents to the ticks that would contain the given timeExtents.

Implementation

@override
DateTimeExtents updateBoundingSteps(DateTimeExtents timeExtent) {
  final stepBefore = getStepTimeBeforeInclusive(timeExtent.start, 1);
  final stepAfter = getStepTimeAfterInclusive(timeExtent.end, 1);

  return DateTimeExtents(start: stepBefore, end: stepAfter);
}