core-ktx / androidx.time / java.time.Year / asInt


inline fun Year.asInt(): Int
Deprecated: These extensions are for java.* APIs and not android.* APIs and thus are out of scope for this project. Star for future support of extensions like these. These extensions will be removed before core-ktx 1.0!

Return the integer value for this Year.

See Also