core-ktx / androidx.time / kotlin.Int / months
months
inline fun Int.months(): Period
Deprecated: These extensions are for java.* APIs and not android.* APIs and thus are out of scope for this project. Star https://youtrack.jetbrains.com/issue/KT-21585 for future support of extensions like these. These extensions will be removed before core-ktx 1.0!
Return a Period representing this value in months.
See Also
Period.ofMonths