core-ktx / androidx.time / kotlin.Int / asYear

asYear

inline fun Int.asYear(): Year

Return the Year for this value.

See Also

Year.of