Package-level declarations

Functions

Link copied to clipboard
fun YearMonth.print(format: String, locale: Locale = Locale.US): String
Link copied to clipboard
fun String.toYearMonth(vararg formats: String?): YearMonth?

Works off of String representations of YearMonth (ISO default: "2024-11"). When formats are provided, each format is attempted in-order until one succeeds.