updateSecondIndex method

  1. @override
void updateSecondIndex(
  1. int index
)
override

更新第二列索引

Implementation

@override
void updateSecondIndex(int index) {
  super.updateSecondIndex(index);

  int minSemiannual = getSemiannual(_minMonthOfCurrentYear());
  int month = getMonthBySemiannual(minSemiannual + index);
  currentTime = currentTime.isUtc
      ? DateTime.utc(currentTime.year, month)
      : DateTime(currentTime.year, month);
}