updateRange

fun updateRange(startMonth: YearMonth?, endMonth: YearMonth?)

Changes the month range (null = unbounded side), keeping the visible month if still in range.