fiscalYear

fun LocalDate.fiscalYear(fiscalYearStartMonth: Int = 1): Int(source)

Returns the fiscal year for a LocalDate given a fiscal year start month. Example: LocalDate(2024, 10, 15).fiscalYear(fiscalYearStartMonth = 10) → 2025