I get an integer and I need to convert to a month names in various locales:
Example for locale en-us: 1 -> January 2 -> February
Example for locale e
Kotlin Extension
fun Int.toMonthName(): String { return DateFormatSymbols().months[this] }
Usage
calendar.get(Calendar.MONTH).toMonthName()