getFlatDetailsFor

fun CalendarPage.getFlatDetailsFor(date: LocalDate): Pair<Int, CalendarDay>?

Retrieves the "flat" index and CalendarDay for the given date, or null if the date does. not exist on this page

Flat index refers to the index of the date, if the 2D Array of dates were to be flattened to a 1D Array.

Sources

Link copied to clipboard