setRightIndex method

void setRightIndex(
  1. int index
)

Implementation

void setRightIndex(int index) {
  int minDay = _minDayOfCurrentMonth();
  currentTime = currentTime.isUtc
      ? DateTime.utc(currentTime.year, currentTime.month, minDay + index)
      : DateTime(currentTime.year, currentTime.month, minDay + index);
}