monthIndexOf

external fun monthIndexOf(year: Double, month: Double): Double

Get the index of a month, counted from January of year 0. Reduces a month to a single integer, so a lookup builds no key and two months are adjacent when their indexes are.