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

asInt

inline fun Year.asInt(): Int

Return the integer value for this Year.

See Also

Year.getValue