indexIn

fun indexIn(years: IntRange): Int(source)

The position of this month within years, counting 12 months per year.

years must be a range in the same calendarSystem; the pagers hold one range per system.